Commit Graph

23558 Commits

Author SHA1 Message Date
Philippe Charnier a3bfefd3be Just forgot a moment that mdoc macros are limited to 9 parameters.
Found by: Bruce.
1997-08-26 07:04:20 +00:00
Philippe Charnier 57bd99e61c Revert some casts I introduced.
Requested by: Bruce.
1997-08-26 06:59:34 +00:00
Steve Passe 737e5e8da5 Removed suggested "options AUTO_START", no longer used.
Noticed by:	 Vincent Poy <vince@mail.MCESTATE.COM>
1997-08-26 05:12:45 +00:00
John Dyson a5db4bf475 Back out some incorrect changes that was worse than the original bug. 1997-08-26 04:36:27 +00:00
Bruce Evans 7d7fb492c5 Don't return EINVAL for negative timespecs in the nanosleep functions.
Negative timespecs are perfectly valid.  Just return 0 immediately
for them.  Also, return 0 immediately for zero timespecs.

Fixed some style bugs.
1997-08-26 00:40:04 +00:00
Warner Losh c9c3deeddc .Xr vnconfig 8. This was suggested by Dworkin Muller <dworkin@village.org>
when he tried to figure out how to swap to a file and had to ask me for
help.
1997-08-26 00:32:06 +00:00
Bruce Evans 8a2d9f5076 Finished staticizing. 1997-08-26 00:31:04 +00:00
Bruce Evans 9a629c9302 Fixed some formatting and style bugs.
Fixed a gratuitous ANSIism.
1997-08-26 00:24:25 +00:00
Bruce Evans 1d9655ae4d Print more info in the "calcru: negative time" message. 1997-08-26 00:20:11 +00:00
Bruce Evans eb776aea19 Fixed some gratuitous ANSIisms. 1997-08-26 00:15:04 +00:00
Bruce Evans 32545fd108 Removed some stale comments.
Fixed a gratuitous ANSIism.
1997-08-26 00:09:44 +00:00
Bruce Evans 282ec22c77 Removed redundant test against MAXDSIZ (the rlimit test is stronger). 1997-08-26 00:02:24 +00:00
Bruce Evans 25ec9b1615 Don't depend on the gcc feature of permitting conditional expressions
with only one void operand.
1997-08-25 23:45:50 +00:00
Bruce Evans 17bd614dd9 Fixed misplaced declaration. 1997-08-25 23:41:39 +00:00
Bruce Evans f9a4e5c528 Minor formatting and style fixes. 1997-08-25 23:36:23 +00:00
Bruce Evans 8e5aa32a09 Fixed pedantic syntax error (trailing comma in enum). 1997-08-25 23:31:05 +00:00
Bruce Evans 7c941b1013 Removed more abuses of timeout_func_t. 1997-08-25 23:28:58 +00:00
Bruce Evans 0cb69e7a49 Removed unused misplaced definition of TIMER_FREQ.
Use less-magic numbers in the definition of HISTORY_SIZE.
1997-08-25 23:21:55 +00:00
Bruce Evans f438d8b44e Fixed reversed arguments and poor formatting and comments for OUT*.
The reversals were doubled except in comments so there was no problem
at runtime.
1997-08-25 23:17:33 +00:00
Bruce Evans 72e81c1a11 Fixed some not-so-recently broken indentation.
Fixed pedantic syntax error (trailing comma in enum).
1997-08-25 23:06:29 +00:00
Bruce Evans 70df00b826 Fixed some not-so-recently broken indentation.
Fixed pedantic syntax error (trailing comma in enum).
1997-08-25 22:58:29 +00:00
Bruce Evans ccea0a158a Check for irq conflicts even if conflicts are allowed. Conflicting
irqs can't work (at best, the first one attached wins).  It used to
be necessary to skip this check because of bogus irqs in the sound
drivers, but the sound drivers have been fixed, except possibly the
OSS ones.
1997-08-25 22:52:59 +00:00
Bruce Evans c77b8656bb Fixed type mismatch for a (low quality interface) function with an
arg of type u_short (just write the function in ANSI C like most
other functions in this file instead of fixing the interface or
depending on a gcc feature).
1997-08-25 22:34:25 +00:00
Bruce Evans ca56099a40 Police 4.4Lite #include style. 1997-08-25 22:28:57 +00:00
Bruce Evans fe18edae06 Fixed type mismatch for a (low quality interface) function with an arg
of type u_char (break K&R support instead of fixing the interface or
depending on a gcc feature).
1997-08-25 22:23:46 +00:00
Bruce Evans b9dcd593ff Fixed type mismatches for functions with args of type vm_prot_t and/or
vm_inherit_t.  These types are smaller than ints, so the prototypes
should have used the promoted type (int) to match the old-style function
definitions.  They use just vm_prot_t and/or vm_inherit_t.  This depends
on gcc features to work.  I fixed the definitions since this is easiest.
The correct fix may be to change the small types to u_int, to optimize
for time instead of space.
1997-08-25 22:15:31 +00:00
Bruce Evans 8b6e12e27f Added an XXX comment. 1997-08-25 22:02:22 +00:00
Bruce Evans 56f4ffc582 Removed an unused variable. 1997-08-25 21:57:55 +00:00
Bruce Evans 45e3420bd4 Fixed a pedantic syntax error (case labels without a statement). 1997-08-25 21:56:23 +00:00
Bruce Evans 10a1aa05e8 Finished (?) support for DISABLE_PSE option. 2-3MB of kernel vm was sometimes
wasted.

Fixed type mismatches for functions with vm_prot_t's as args.  vm_prot_t
is u_char, so the prototypes should have used promoteof(u_char) to match
the old-style function definitions.  They use just vm_prot_t.  This depends
on gcc features to work.  I fixed the definitions since this is easiest.
The correct fix may be to change vm_prot_t to u_int, to optimize for time
instead of space.

Removed a stale comment.
1997-08-25 21:53:01 +00:00
Steve Passe 1ecd3f4585 Make explicit '-B' option propigate to submakes.
No one has said this would be a bad thing, so given the dearth of comments
I decided to add it, as its an important step towards getting "make world"
'parallel-ized'.

Reviewed by:	silence
Submitted by:	nnd@itfs.nsk.su
1997-08-25 21:35:44 +00:00
Bruce Evans 3faae24ef5 Removed a tautological comment. 1997-08-25 21:31:38 +00:00
Bruce Evans 2a2968a896 Removed a bogus comment. 1997-08-25 21:28:08 +00:00
Bruce Evans c295350952 Fixed an example. 1997-08-25 21:17:38 +00:00
Bruce Evans 958294d6f6 Removed duplicate MOPT_FORCE and sorted the first one. Rev.1.5 and
Lite2 messed up the ordering differently.
1997-08-25 21:14:22 +00:00
Steve Passe 047307e09d Eliminate the blocking of INTs while spinning for the safe simplelock. 1997-08-25 21:02:59 +00:00
Bruce Evans 8e30c09987 Moved getmntops() stuff back to mntopt.h so that it is visible in other
mount utilities.
1997-08-25 21:02:21 +00:00
Bruce Evans fa02b62ae7 Backed out previous commit - don't clobber the (normally equivalent)
default for NOSHARED.
1997-08-25 20:38:35 +00:00
Poul-Henning Kamp 013739386f Copy&Paste considered harmful:
Remove all traces of the name_cache from devfs.  It is hardly sensible to
use the namecache for an all-RAM filesystem.
1997-08-25 20:31:00 +00:00
Poul-Henning Kamp c049f06469 Add a new vnode op (cachedlookup) so that filesystems can plug into
a global vfs_cache check.  The rest of this change will come when the
current zero size file problem is resolved.
1997-08-25 20:28:49 +00:00
Bruce Evans ba05eddfeb Support all mount flags that are supported in the kernel. 1997-08-25 20:23:16 +00:00
Poul-Henning Kamp 49f219ae06 Add SLIST_FOREACH 1997-08-25 20:21:54 +00:00
Bruce Evans 18f368f2e4 Restored clobbered parts of rev.1.15 (build intermediate object files
for tools).
1997-08-25 19:50:01 +00:00
Bruce Evans 5c2de1d703 Use new installhdrs target to install tcl includes. 1997-08-25 19:40:53 +00:00
Garrett Wollman 4e00c309c0 Print out the two new fields in the ICMP stats. While we're at it, also
convert icmp_stats() to use sysctl(3) to retrieve the information
rather than kvm.  This makes it easy to also print whether ICMP address
mask responses are enabled, so do so.
1997-08-25 16:57:05 +00:00
Garrett Wollman e4bb0b9a5b While I'm in here, fix address printing for `netstat -f unix' which has been
broken for a couple of weeks now...
1997-08-25 16:55:00 +00:00
Andrey A. Chernov a05c4d30fd Temporarily comment out issetugid() call until everyone installs libtermcap,
major number bumping will follows then
1997-08-25 16:42:22 +00:00
Garrett Wollman fe0fb8abd0 ICMP Timestamp Request messages could have harbored the same sort of
problem as Echo Requests when broad/multicast.  When multicast echo responses
are disabled, also do the same for timestamp responses.
1997-08-25 16:29:27 +00:00
John-Mark Gurney 0755ef0eea add Id line (so that the commit on RELENG_2_2 will have it too) 1997-08-25 12:50:01 +00:00
Peter Wemm 29f886b18b s/.align/.p2align/ so that we get the same results when building elf
objects (the tools are a bit better)
1997-08-25 10:57:38 +00:00