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
KATO Takenori
9d3220061d
Added a sysctl arg, vfs.cd9660.doclusterread. Deleted debug and
...
!FreeBSD code arround cluster read stuff.
1997-08-25 10:26:18 +00:00
David E. O'Brien
7fd6f1c607
I clamined to not have imported cpio.texi. This is not true.
1997-08-25 09:11:06 +00:00
KATO Takenori
804f67f778
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 Takenori
55ae4cdbde
Synchronize with sys/i386/boot/netboot/ns8390.c revision 1.12.
1997-08-25 08:15:14 +00:00
Andrey A. Chernov
0e7e6efe8f
Fix saving/restoring tty modes, allow initscr be called twice,
...
from ncurses 4.1
1997-08-25 07:41:15 +00:00
Philippe Charnier
05c5fed8f5
Use err(3).
1997-08-25 06:49:45 +00:00
Philippe Charnier
8c85cce77a
Sync usage string according to man page. Silent -Wall.
1997-08-25 06:44:59 +00:00
Philippe Charnier
752d887a62
Use err(3). Add usage().
1997-08-25 06:43:22 +00:00
Philippe Charnier
90389da95b
Typo in usage(). Err -> errx when testing allocations.
1997-08-25 06:42:19 +00:00
Philippe Charnier
495aecea76
Use err(3). Add some %d to %ld changes.
1997-08-25 06:40:05 +00:00
Philippe Charnier
d9be0ac773
Use err(3). Add usage() and prototypes.
1997-08-25 06:37:37 +00:00
Philippe Charnier
3e7ae69f2a
Use err(3). Nm vgrind -> Nm in man page.
1997-08-25 06:36:04 +00:00
Joerg Wunsch
f778764443
Make the MD* header files C++-aware. Also, string arguments are supposed
...
to be of type `const char *'.
PR: 3291
Submitted by: dima@tejblum.dnttm.rssi.ru (Dmitrij Tejblum)
1997-08-25 05:24:31 +00:00
Warner Losh
daca865092
Change from using sys/param.h and MAXPATHLEN to using limits.h and PATH_MAX
...
to avoid the NOFILE problem. Back out NOFILE kludge. Fix unexploitable
buffer overflow in tipout.c.
Reviewed by: millert@openbsd.org (tipout.c)
Submitted by: millert@openbsd.org (rest of idea)
1997-08-25 05:02:11 +00:00