Commit Graph

2435 Commits

Author SHA1 Message Date
drochner 017037d6b1 adapt to changed dkinit() in ../../usr.bin/vmstat/dkstats.c 1998-07-19 17:48:15 +00:00
lukem 786b86d71b use AF_LOCAL instead of AF_UNIX 1998-07-18 05:04:35 +00:00
is a9f772b8bb Add path mtu discovery. Idea and code fragments by W. Richard Stevens. 1998-07-17 23:45:24 +00:00
tron ec7c8ec161 From "buqtraq": avoid file descriptor leak if service is looping. 1998-07-16 08:55:43 +00:00
fvdl e2380de37c Clarify -n comment. 1998-07-15 22:00:59 +00:00
lukem ee2b020c89 pull in /etc/rc.conf if it exists, and use $named_flags as an arg to named 1998-07-15 02:44:52 +00:00
frueauf 6711f91976 Fix typo, closes pr 5753 by Mason Loring Bliss. 1998-07-14 21:19:08 +00:00
mrg 84ce584a5f - standardise some option processing
- don't bother copying the exports filename, it isn't necessary
- unblock SIGHUP after returning "mount refuse" error
- KNF, and remove the singular register
1998-07-13 14:24:24 +00:00
mrg 99b44231f5 minor KNF nits. 1998-07-13 12:01:03 +00:00
augustss 6b7023e319 Fix some typos. 1998-07-13 11:01:50 +00:00
mrg 5c8240d257 KNF. be safe with buffers. use setsid(). 1998-07-13 06:31:31 +00:00
mrg 7899faca6b KNF. 1998-07-13 05:43:50 +00:00
augustss 3ac7469e03 Remove some Makefile cruft and improve an error message. 1998-07-12 20:40:44 +00:00
augustss 81565845ef Add missing copyright notice. 1998-07-12 20:32:30 +00:00
augustss deb00272b9 Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers
1998-07-12 19:51:55 +00:00
veego dd81fd7d91 Resolve conflict from the import. 1998-07-12 15:01:49 +00:00
veego 2e7d01894c Import IP Filter 3.2.9 1998-07-12 14:48:00 +00:00
veego 1fdca009c8 ups, forgot to remove the #'s. 1998-07-12 14:45:10 +00:00
veego 8b98bfa257 Fix the 'RCS tag' conversion. 1998-07-12 14:39:11 +00:00
hubertf 89f14c0f4e Prevent args of pkg_info -e from expansion (in case wildcard matching is requested) 1998-07-12 14:05:51 +00:00
mrg 1cd9ed7799 minor KNF. 1998-07-12 09:13:27 +00:00
mellon e7910d8d32 Hard-code NetBSD-specific directory names 1998-07-11 00:04:23 +00:00
mellon dac2726066 Document NetBSD-specific system requirements. 1998-07-11 00:02:39 +00:00
mellon b13a0491e0 Hard-code NetBSD-specific directory names 1998-07-11 00:02:08 +00:00
mellon 53904df9e4 Document NetBSD-specific system requirements. 1998-07-10 23:58:27 +00:00
rvb a7bec6f8a2 The .o files should depend on the h file, not the .c files 1998-07-10 16:37:55 +00:00
msaitoh 4944940fcf Declare ints, too, don't default them. 1998-07-09 18:32:52 +00:00
hubertf 7a033bd0d4 Extend "pkg_info -e" to allow pkg-globbing, and allow using it. 1998-07-09 17:49:51 +00:00
hubertf ad11dcd500 Replace FreeBSD's libftpio with our calls to our great ftp client. 1998-07-09 16:47:26 +00:00
cgd da88f08f26 if you're going to length-check a field before using it, length-check
the field you're actually going to use.  (bp_sname was being checked
instead of bp_file.)
1998-07-08 22:14:10 +00:00
mrg 31283e2cd0 fix error in previous pointed out by bad. minor KNFing. 1998-07-08 15:17:57 +00:00
hubertf cab003200b Abort on "rm -rf /"... 1998-07-08 07:17:30 +00:00
mrg 18ae3abbcd fix "-s" option 1998-07-07 17:05:28 +00:00
mrg c0aa4ce503 oops, missed this in gethostname sweep. 1998-07-07 03:36:53 +00:00
mrg 33c0bbba35 add "lp -s" switch, from darcy@druid.net in pr#5713. document "lp -s" and "lp -o" 1998-07-07 02:01:37 +00:00
mrg 80efe80bc9 - change setgid kmem programs (that lend themselves to this) so setegid(getgid())
and the top, and then set the effective gid back to kmem around the call to
  kvm_openfiles().  this reduces the time group kmem is available.
- for those above that also allow this, setgid(getgid()) after the call to
  kvm_openfiles() to fully revoke priviledges.
- some KNF
- use err(3) over fprintf(3) in some places
1998-07-06 07:50:18 +00:00
mrg 32f519716b - use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
1998-07-06 06:56:06 +00:00
mrg 2beab49a06 - use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
1998-07-06 06:45:41 +00:00
tron 1ea9bb436f When adding a binary package from a locale file "pkg_add" fails now if
a dependence can't be resolved unless "-f" is used, fixes PR pkg/5625
by Jeremy Cooper.
1998-07-05 21:15:55 +00:00
mrg c2b498a921 KNF. 1998-07-05 06:20:05 +00:00
mrg 5b9ccc383d use destination's size in 2 memcpy calls. 1998-07-04 21:31:59 +00:00
mrg 5a91a6622c KNF + check for fork failure. 1998-07-04 21:04:02 +00:00
mrg 26b338e7f0 ensure we do not overrun errbuf. 1998-07-04 20:47:24 +00:00
jonathan 50ca59e842 Fix braino. 1998-06-30 03:42:23 +00:00
jonathan eaa351c789 * Check that any declared option (def{opt,param,flag}, filesystem
is declared at most once.
* Do option dependency across all def{opt,param, flag}.
* Make the default value of otherwise-unspecified defopt's be 1,
  for consistency with non-defopt'ed options.
* Wrap an abstraction layer (macros) around tests for defopt, filesystem,
  defparam, etc. to catch outdated  defopt-vs-filesystem tests.
1998-06-30 03:30:56 +00:00
nathanw e14ca04293 Document shortcorename support and control. 1998-06-28 21:36:55 +00:00
scottr a5427da04d Add and document the -v flag, and only print option-related warnings
if this flag is specified.
1998-06-28 04:41:36 +00:00
tv bf6bf05ae1 Fix hannken's fix: The correct way to keep pstat.c from looking for any
"opt_*.h" files is to set a flag that tells the header files not to look for
anything in the kernel compile directory, i.e. _LKM.

Just rearranging includes doesn't work because it'll just break again,
eventually, as more stuff is defopted.
1998-06-26 19:52:29 +00:00
hannken 653c43d0f5 Make it compile again. Include <sys/socket.h> before setting _KERNEL.
Otherwise the chain pstat.c -> <sys/mount.h> -> <sys/socket.h> fails
with 'opt_compat_freebsd.h: No such file or directory' ...
1998-06-26 14:17:01 +00:00
jonathan 0925cf4fda Stronger checking of options:
* machinery for nonfatal warnings.
* new backend config-file keywords:
     defparam -- like defopt, but each defparam option is required
		 to have a value when configured via "options".
     defflag -- like defopt, but defflag options may not have a value.
		 Also, on "option FOO",  a needs-count style flag
		 (NFOO, either 0 or 1)  is emitted to the .h file.

* Warn about old-style options that aren't defined via def{opt,param,flag}
  and which are  added to IDENT. (These behave subtly differently
  to defopt options when  no explicit value is given.)
1998-06-24 11:20:54 +00:00