Commit Graph

3344 Commits

Author SHA1 Message Date
tsutsui 5cb06e6456 Use uname(3) to determine MACHINE type. 2000-01-09 04:54:53 +00:00
msaitoh 049ad0d982 machine/exec_coff.h -> sys/exec_coff.h 2000-01-07 09:40:33 +00:00
itojun 293291b23d grammar fix. sync with latest KAME. 2000-01-06 07:58:04 +00:00
itojun 2e904aec57 make IPV6_BINDV6ONLY setsockopt available. it controls behavior of
AF_INET6 wildcard listening socket.  heavily documented in ip6(4).
net.inet6.ip6.bindv6only defines default value.  default is 1.

"options INET6_BINDV6ONLY" removes any code fragment that supports
IPV6_BINDV6ONLY == 0 case (not defopt'ed as use of this is rare).
2000-01-06 06:41:18 +00:00
itojun 9695855746 add missing variables under net.inet6.ip6. 2000-01-06 02:56:44 +00:00
ad a4eb83847b Update for changes to 'struct wsdisplay_font'. 2000-01-05 18:46:43 +00:00
drochner 4b3a806e80 print a warning if a "cinclude"d file cannot be opened and the -v flag
is given
2000-01-05 11:24:02 +00:00
hubertf 873c34bf5e Some changes from David Maxwell <david@fundy.ca>:
- make it clear that a URL or full path can be given on the command line
 - explain where depending pkgs are expected to live
2000-01-04 22:39:28 +00:00
itojun 07c2fe1cd9 add net.inet6.icmp6.nodeinfo sysctl.
this allows you to disable/enable ICMPv6 node information query/reply
processing (which tells remote end the gethostname(3) setting, interface
addresses on the node, and some other things - documented in
draft-ietf-ipngwg-icmp-name-lookup* or something alike).

to test it, try ping6 -w ::1 with nodeinfo=0 and nodeinfo=1.
(sync with kame change)
2000-01-02 16:31:17 +00:00
itojun f5507e1557 avoid use of bitfield in packet format definition. it is non-portable
(packing constraint is unknown).
avoid use of u_int8_t bitfield.  it is illegal.
2000-01-02 13:15:53 +00:00
itojun 758c15425b wording changes. document rtsol(8) behavior earlier in the document.
(sync with kame repo)
2000-01-02 06:30:15 +00:00
agc 2f3f04acfd Enhancements from Hubert Feyrer:
+ copy all files and directories in <skeldir> to new user's home
directory, not just if they begin with a '.'
+ use pax to copy files from <skeldir>, as this will allow <skeldir>
to contain directory trees as well as regular files
+ use -h arg to chown(1) in case any symlinks have been created in the
new user's home directory
+ getpwnam(3) does not set errno, so use errx(3) and warnx(3)
+ use nologin(8) in preference to false(1) when deleting users but
preserving information
+ in usage messages, specify [-r lowuid..highuid] rather than a simple
[-r range]
1999-12-31 21:58:14 +00:00
itojun 1d4f533c98 avoid use of kvm, mostly for boot floppy's convenience.
(sync with latest kame)
1999-12-31 19:40:19 +00:00
itojun 5dd97131d3 typo (sa_family must be sa_len)
NetBSD PR: 9084
1999-12-30 15:39:40 +00:00
itojun c8ebe62e8b avoid memory leak on realloc() error. 1999-12-30 09:10:28 +00:00
hubertf a27c7840ac mention /usr/share/examples/apm/script 1999-12-29 05:00:43 +00:00
mjl 9d38d8530d Fix typo.:wq 1999-12-28 02:54:51 +00:00
garbled 2ae03f4ff8 Add CPPFLAGS so this can be cross compiled. 1999-12-24 19:12:38 +00:00
agc 7497747c60 Add new functionality, and fix some bugs and oversights:
+ Moved all internal definitions from usermgmt.h to user.c
+ Added prototypes to usermgmt.h
+ Allow defaults to be set at build time
+ Check the effective uid is 0 if any data is to be modified
+ Check all numeric uids and gids really are numeric
+ Fix a bug (reported by lenb at sasquatch.com) where new ranges were
appended to old ranges, rather than replacing them
+ Add userinfo(8) and groupinfo(8) utilities (if EXTENSIONS is
defined), whereby user and group information can be displayed.  Add
manual pages for new utilities.  Add front-end calling from user(8)
and group(8) accordingly.
+ Make all functions visible outside the user.c file again.  User and
group manipulation may be split out into a separate shared lib in the
future
+ Split off main function into a separate main.c
+ Changed default group to be "users"
+ Changed despatch table for commands to work in a more sane manner
+ Added "default-group" target to Makefile, so that the default group
can be made easily.
1999-12-24 09:08:48 +00:00
mjl 8515b446a0 Fix null terminating the wrong buffer curtesy of similar variables
mixed up. Seemed to never have any ill effect, but then...
Noted by Tetsuya Furukawa in FreeBSD PR/15604.
1999-12-23 02:10:07 +00:00
tron 7ff4a3bbe2 Replace HTML tag by correct character. Problem reported by SAKAI, Atsushi
in PR bin/9036.
1999-12-21 18:45:52 +00:00
itojun 8a32f07b83 wording fix. 1999-12-21 01:39:44 +00:00
hubertf be1f1ece47 Set things to a sane state for db(3) routines. 1999-12-20 18:23:03 +00:00
nathanw 19d95c5d43 Fix typo in comment. 1999-12-20 17:19:13 +00:00
itojun a733a88c71 fix default daemon pathname. 1999-12-20 16:23:44 +00:00
itojun 2d9ec4dac7 void unbounded sprintf().
fix proc title.
1999-12-20 16:22:41 +00:00
itojun 01c6c6df06 fix wrong indentation. 1999-12-20 16:03:19 +00:00
itojun e67cbfed4a oops, fix typo. 1999-12-20 16:01:31 +00:00
itojun e0e43ad479 fix uninitialized pointer access on mapped addr handling.
add more debugging info on setsockopt errors.
1999-12-20 15:35:55 +00:00
jdc 6ed8472046 Fix include.
Add prototypes.
1999-12-20 09:51:53 +00:00
jdc 9e109631e6 Manual page to sparc subdirectory. 1999-12-20 09:51:07 +00:00
jdc 9a26c043d2 Added tadpolectl 1999-12-20 09:50:20 +00:00
itojun 184c111af0 fix possible infinite loop in tcp relay (avoid possible DoS).
PR: 8640
From: Feico Dillema
1999-12-20 05:41:35 +00:00
hubertf 78254bd723 Put back former -s switch to pkg_create as -L now.
Fixes PR 8982 by Eric Schnoebelen <eric@cirr.com>
1999-12-20 03:25:57 +00:00
tsutsui e4e5afee28 mdconfig /dev/md0c rather than /dev/md0a in EXAMPLES. 1999-12-18 03:14:15 +00:00
abs 65b09cecfc Remove obsolete reference to mkpasswd(8) 1999-12-17 13:11:22 +00:00
garbled b8bee8a542 Typo in makefile. 1999-12-17 05:32:38 +00:00
garbled 606c3a8481 Add new binary tadpolectl for use with Tadpole SparcBook machines.
Presents a sysctl(8)-like interface for the user to read and modify
tadpole specific values and hardware states. (for things like changing the
bell frequency/volume, tft brightness, mouse variables, etc)
1999-12-17 05:30:02 +00:00
garbled be3f0561fc Fix some minor typos and word usage nits. 1999-12-17 05:01:26 +00:00
bouyer 7616130d51 Explicitely cast to (u_quad_t) calls to btodb() and dbtob() to avoid
int overflow. It's now possible to add/display quotas of more than
4G.
XXX I'm sure there is a PR open on this but I couln't find it with the
usual search engines. If someone knows it's number ...
1999-12-16 17:29:52 +00:00
itojun a650ffbfaf write out dump file into /var/run, not /var/tmp.
(sync with KAME, for possible security reasons)
1999-12-16 05:55:52 +00:00
garbled 37b2f44641 Enable build on sparc, and move manpage out of i386 specific directory 1999-12-15 20:34:03 +00:00
itojun 644cf51b1e add -I and -l. cleanup on screen formatting.
(sync with latest KAME)
1999-12-13 15:30:25 +00:00
itojun 2faf5d6a6d s/.Os KAME/.Os/ 1999-12-13 04:38:22 +00:00
itojun e9dcae109b use getaddrinfo() for getting address parameter.
clarify command line parser.  add -I option.

(sync with recent KAME)
1999-12-13 04:30:53 +00:00
itojun af2a74fdec use sizeof(foo) instead of hardcoded value, to help synchronizing
variable def and function parameter.
1999-12-13 04:25:08 +00:00
hubertf 93331a6d49 Remove code to make this compile on 1.4.1, as requested by Luke and
Frank. We'll need to move this to pkgsrc to get it for 1.4.1.
1999-12-13 00:26:26 +00:00
veego 9c9aae0fda Use the new IP Filter dist layout for.
We are now at version 3.3.5.
1999-12-12 11:29:55 +00:00
thorpej 9e4b4a03d7 Need <string.h> for memset prototype. 1999-12-11 18:20:27 +00:00
thorpej bc322cb5f0 Fix printf formats; cast pointer diffs to long, and use %ld. 1999-12-11 18:19:20 +00:00