Commit graph

78793 commits

Author SHA1 Message Date
Gordon Tetlow 8987faac82 Don't export variables from /etc/rc when doing rc_ng because the scripts
are sourced in a subshell.

Submitted by:	Mike Makonnen <makonnen@pacbell.net>
2002-08-14 05:58:44 +00:00
Gordon Tetlow 88f7d3e22b Clean up the scripts to use the new variables:
xntpd_* -> ntpd_*
portmap_* -> rpcbind_*

Also change single_mountd_enable -> mountd_enable
Changing the mountd flags brings us closer to NetBSD.

All of the old variable names are shimmed so you can continue to use the
old variable name.

Finally make /etc/rc.d/mountd no longer dependent on nfs as there are
(apparently) other consumers of mountd.

Submitted by:	Mike Makonnen <makonnen@pacbell.net>
2002-08-14 05:44:32 +00:00
Gordon Tetlow 2ee93c5780 Clean up some variables that should have been done before:
xntpd_* -> ntpd_*
portmap_* -> rpcbind_*

Also change single_mountd_enable to mountd_enable.

We also include shims for all the old variable names.

Submitted by:	Mike Makonnen <makonnen@pacbell.net>
2002-08-14 05:37:15 +00:00
Robert Watson c44d84056d Move to nested include of _label.h instead of mac.h, reducing namespace
pollution.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
Suggested by:	bde
2002-08-14 01:37:22 +00:00
Robert Watson 01abbb4285 Move to a nested include of _label.h instead of mac.h in sys/sys/*.h
(Most of the places where mac.h was recursively included from another
kernel header file.  net/netinet to follow.)

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
Suggested by:	bde
2002-08-14 01:04:43 +00:00
Jeff Roberson 08d2496abf - Add the missing td argument to vn_lock that I missed in my last commit. 2002-08-13 20:34:30 +00:00
Doug Barton a6d192950e A much better description of the -q option.
Obtained from:	Andrew Brown <atatat@NetBSD.org>
2002-08-13 20:07:36 +00:00
Ruslan Ermilov c0cb7cc399 mdoc(7) police: minor nits.
Approved by:	imp
2002-08-13 19:43:47 +00:00
Poul-Henning Kamp ae89fdaba7 remove spurious printf 2002-08-13 19:13:23 +00:00
David Greenman 9e63574ea4 Moved sf_buf_alloc and sf_buf_free function declarations to sys/socketvar.h
so that they can be seen by external callers.
2002-08-13 19:03:19 +00:00
Poul-Henning Kamp 209c34ba95 Unbreak one of the most confusing breaks of the tree I've seen.
The last commit cannot possibly have been tested.
2002-08-13 18:55:51 +00:00
David Greenman a370c70055 Remove obsolete comment about sf_buf_* functions being static. They were
made un-static in rev 1.114.
2002-08-13 18:20:08 +00:00
Ruslan Ermilov c3a2e97634 Two more variables to export: KERNELS and AUTO_KEYBOARD_DETECT.
Submitted by:	Alan Judge <Alan.Judge@eircom.net>
2002-08-13 16:59:56 +00:00
Ruslan Ermilov 9645701d92 Bootstrapping aid for pre-getprogname(3) systems.
Spotted by:	Gareth Hopkins <gareth@za.uu.net>
Approved by:	nectar
MFC after:	3 days
2002-08-13 16:52:52 +00:00
Ian Dowse 35655e3c45 If a timeout is specified, make sure that rcmd() completes within
the specified time. Previously, rsh could potentially hang indefinitely
at this point even when a timeout was set, for example if the server
accepts the connection and then never sends any reply.

PR:		bin/20042
Submitted by:	Keith White <Keith.White@site.uottawa.ca>
MFC after:	1 week
2002-08-13 16:25:38 +00:00
Maxime Henrion bf20c7a3f2 Forward define struct iovec instead of including
sys/uio.h and polluting the namespace even more.
2002-08-13 16:20:12 +00:00
Maxime Henrion eddb9a0d78 Don't depend on namespace pollution in sys/mount.h and
include sys/uio.h.
2002-08-13 16:07:39 +00:00
Ruslan Ermilov a654c53e16 mdoc(7) police: Removed redundant .Ns calls. 2002-08-13 16:07:28 +00:00
Ruslan Ermilov 5e27573309 mdoc(7) police: untangle. 2002-08-13 15:59:28 +00:00
Robert Watson f6d4af7c72 Define 'struct label' in _label.h rather than mac.h, which will permit
us to reduce namespace pollution by doing a nested include of _label.h
rather than mac.h.  mac.h contains lots of baggage, whereas _label.h
contains much less.  A follow-up sweep to change nested inclusion will
follow.  The problem regarding exporting 'struct label' to userland
due to excessive exporting of kernel structures to userland still
needs to be resolved.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
Suggested by:	bde
2002-08-13 15:54:28 +00:00
Josef Karthauser 96991a6ae8 Add a bugs section to mention that this device probably doesn't work
properly.
2002-08-13 15:12:11 +00:00
Ruslan Ermilov 8d2987d91e mdoc(7) police: Get rid of hard sentence breaks. 2002-08-13 15:09:33 +00:00
Ruslan Ermilov be0056cdab mdoc(7) police: revert unapproved changes in rev. 1.43, added missing markup bits in rev. 1.45. 2002-08-13 15:06:48 +00:00
Ruslan Ermilov 75aee0b96c mdoc(7) police: nits. 2002-08-13 15:01:26 +00:00
Ruslan Ermilov 6c8c60988b mdoc(7) police: typos. 2002-08-13 14:57:33 +00:00
Andrey A. Chernov a2a26d0a3d Reduce BSS size for programs which not load collate by eliminating
static buffer.
2002-08-13 14:55:17 +00:00
Ruslan Ermilov 635e2e682b mdoc(7) police: nit. 2002-08-13 14:52:41 +00:00
Ruslan Ermilov e6d3dae8cd mdoc(7) police: tidy up formatting. 2002-08-13 14:51:17 +00:00
Ruslan Ermilov ad5ca2e1b7 mdoc(7) police: revert to a valid construct. 2002-08-13 14:42:24 +00:00
Ruslan Ermilov 8cdc6c3a7c mdoc(7) police: removed hard sentence break. 2002-08-13 14:39:26 +00:00
Ruslan Ermilov c3b938855a mdoc(7) police: Bump document date, removed (again) hard sentence breaks.. 2002-08-13 14:37:41 +00:00
Ruslan Ermilov e316d2deba mdoc(7) police: nit. 2002-08-13 14:25:53 +00:00
Ruslan Ermilov 74087d9d1a mdoc(7) police: laundry. 2002-08-13 14:20:06 +00:00
David Malone ea33013bc4 Use a union to access the words of a double as this is less likely
to cause bugs when gcc is more aggressively optimising things.

There are still problems with dtoa mentioned in the PR - maybe
Dan could suggest a patch.

PR:		40209
Submitted by:	Dan Lukes <dan@obluda.cz>
Approved by:	bde
MFC after:	2 weeks
2002-08-13 14:17:39 +00:00
Ruslan Ermilov 76e0d06131 mdoc(7) police: laundry. 2002-08-13 14:12:31 +00:00
Ruslan Ermilov e091d0c2ac can not -> cannot. 2002-08-13 14:10:36 +00:00
Yaroslav Tykhiy f6daca0dac Fix a wrong comment on (hopefully) right code.
MFC after:	3 days
2002-08-13 14:08:38 +00:00
David Malone 23b25ee7e4 Add tcpd to the build - though we don't need to for inetd, someone might
want it for some other service-running program.

Approved by:	markm
MFC after:	1 week
2002-08-13 14:03:40 +00:00
Ruslan Ermilov 99bf03d6a5 mdoc(7) police: added missing paragraph breaks. 2002-08-13 13:59:35 +00:00
Yaroslav Tykhiy e9b61cfeb0 Fix command help lines:
o PORT takes six byte values, not five.
o TYPE argument is mandatory.

Submitted by:	demon (the 1st part)
MFC after:	3 days
2002-08-13 13:56:42 +00:00
Ruslan Ermilov 052160ff07 mdoc(7) police: typo and removed stray .Pp. 2002-08-13 13:55:02 +00:00
Ruslan Ermilov 5faba7ef6b mdoc(7) police: pseudo-devices are gone from -CURRENT. 2002-08-13 13:50:36 +00:00
Ruslan Ermilov a627f55aa4 mdoc(7) police: nits in rev. 1.4. 2002-08-13 13:44:45 +00:00
Ruslan Ermilov 3c5bd3e3ca mdoc(7) police: laundry. 2002-08-13 13:31:54 +00:00
Ruslan Ermilov 3e40554f06 mdoc(7) police: Consistently name options' arguments in the SYNOPSIS and DESCRIPTION sections.. 2002-08-13 13:13:20 +00:00
Yoshihiro Takahashi 335794c03b MFi386: revisions 1.354 and 1.356.
Remove the mpt driver entry.
2002-08-13 12:25:01 +00:00
Ruslan Ermilov aa7998d4a1 mdoc(7) police: canonize FreeBSD in e-mail address. 2002-08-13 12:07:40 +00:00
Ruslan Ermilov 9acd9d0118 mdoc(7) police: missing markup bits. 2002-08-13 12:03:35 +00:00
Tim J. Robbins 439cb19e04 Tidy up SRCS and MAN assignments. 2002-08-13 11:56:02 +00:00
Ruslan Ermilov a61d9c47fe mdoc(7) police: KAMEism in rev. 1.56, nits in rev. 1.58. 2002-08-13 11:51:03 +00:00