Commit Graph

24030 Commits

Author SHA1 Message Date
bde
c86802a2ae 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
imp
015fbf2e02 .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
bde
b4bd137bbd Finished staticizing. 1997-08-26 00:31:04 +00:00
bde
cd40f0f029 Fixed some formatting and style bugs.
Fixed a gratuitous ANSIism.
1997-08-26 00:24:25 +00:00
bde
91d3d7f428 Print more info in the "calcru: negative time" message. 1997-08-26 00:20:11 +00:00
bde
35a98c3590 Fixed some gratuitous ANSIisms. 1997-08-26 00:15:04 +00:00
bde
6fcfc89b8c Removed some stale comments.
Fixed a gratuitous ANSIism.
1997-08-26 00:09:44 +00:00
bde
62b8e79acd Removed redundant test against MAXDSIZ (the rlimit test is stronger). 1997-08-26 00:02:24 +00:00
bde
9fb61aa49b Don't depend on the gcc feature of permitting conditional expressions
with only one void operand.
1997-08-25 23:45:50 +00:00
bde
04b5795c64 Fixed misplaced declaration. 1997-08-25 23:41:39 +00:00
bde
ec670fd1e0 Minor formatting and style fixes. 1997-08-25 23:36:23 +00:00
bde
a0f9d8afb0 Fixed pedantic syntax error (trailing comma in enum). 1997-08-25 23:31:05 +00:00
bde
a959c46ad4 Removed more abuses of timeout_func_t. 1997-08-25 23:28:58 +00:00
bde
2d311d905e 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
bde
9912dd8f10 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
bde
ae8b1527fd Fixed some not-so-recently broken indentation.
Fixed pedantic syntax error (trailing comma in enum).
1997-08-25 23:06:29 +00:00
bde
787955a8c7 Fixed some not-so-recently broken indentation.
Fixed pedantic syntax error (trailing comma in enum).
1997-08-25 22:58:29 +00:00
bde
fbc4f096cf 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
bde
5fcc0d3d40 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
bde
cb45fbaef8 Police 4.4Lite #include style. 1997-08-25 22:28:57 +00:00
bde
6689231c95 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
bde
c978fb3652 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
bde
df4046c530 Added an XXX comment. 1997-08-25 22:02:22 +00:00
bde
e2a5c6ab8a Removed an unused variable. 1997-08-25 21:57:55 +00:00
bde
fa81fa1958 Fixed a pedantic syntax error (case labels without a statement). 1997-08-25 21:56:23 +00:00
bde
7eca67951d 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
fsmp
513dcef161 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
bde
0d4dc945cd Removed a tautological comment. 1997-08-25 21:31:38 +00:00
bde
981e4ccd4f Removed a bogus comment. 1997-08-25 21:28:08 +00:00
bde
36cc99f070 Fixed an example. 1997-08-25 21:17:38 +00:00
bde
f258578729 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
fsmp
73a3ddd3af Eliminate the blocking of INTs while spinning for the safe simplelock. 1997-08-25 21:02:59 +00:00
bde
6702cebfd7 Moved getmntops() stuff back to mntopt.h so that it is visible in other
mount utilities.
1997-08-25 21:02:21 +00:00
bde
8b18fb0873 Backed out previous commit - don't clobber the (normally equivalent)
default for NOSHARED.
1997-08-25 20:38:35 +00:00
phk
e896542842 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
phk
245dfccc2d 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
bde
e79f489cc2 Support all mount flags that are supported in the kernel. 1997-08-25 20:23:16 +00:00
phk
bd600a2a02 Add SLIST_FOREACH 1997-08-25 20:21:54 +00:00
bde
c0ad342824 Restored clobbered parts of rev.1.15 (build intermediate object files
for tools).
1997-08-25 19:50:01 +00:00
bde
31fec0a98d Use new installhdrs target to install tcl includes. 1997-08-25 19:40:53 +00:00
wollman
fefb319840 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
wollman
143b997329 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
ache
3d60ca19b1 Temporarily comment out issetugid() call until everyone installs libtermcap,
major number bumping will follows then
1997-08-25 16:42:22 +00:00
wollman
42f1df1cb9 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
jmg
6fb08f0a27 add Id line (so that the commit on RELENG_2_2 will have it too) 1997-08-25 12:50:01 +00:00
peter
e063258819 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
kato
90e0972a81 Added a sysctl arg, vfs.cd9660.doclusterread. Deleted debug and
!FreeBSD code arround cluster read stuff.
1997-08-25 10:26:18 +00:00
obrien
012df9a25b I clamined to not have imported cpio.texi. This is not true. 1997-08-25 09:11:06 +00:00
kato
53dfbd16d4 Renamed doclusterread/write to unique names (ffs_doclusterread/write),
and staticize them.  Move the #include of <sys/sysctl.h> to the top of
the file.

Pointed out by:	Bruce Evans <bde@zeta.org.au>
1997-08-25 08:18:39 +00:00
kato
4f0bf4df0d Synchronize with sys/i386/boot/netboot/ns8390.c revision 1.12. 1997-08-25 08:15:14 +00:00