Commit Graph

23410 Commits

Author SHA1 Message Date
julian
0c0b422f31 Clean up the console muting functionality.
this has been in production now for a long time with no known effects.
1997-08-08 20:09:50 +00:00
alex
dc3ab85890 Support interface names up to 15 characters in length. In order to
accommodate the expanded name, the ICMP types bitmap has been
reduced from 256 bits to 32.

A recompile of kernel and user level ipfw is required.

To be merged into 2.2 after a brief period in -current.

PR:		bin/4209
Reviewed by:	Archie Cobbs <archie@whistle.com>
1997-08-08 14:36:29 +00:00
charnier
589d243b09 Add usage(). Use err(3) instead of local redefinition. 1997-08-08 12:24:49 +00:00
charnier
9a0308a354 Use err(3). Cosmetic in usage(). Rewrote man page in mdoc format. 1997-08-08 12:22:30 +00:00
charnier
feae501bfd Use err(3). Add usage() and prototypes. Add Xr to who(1). 1997-08-08 12:20:24 +00:00
charnier
3fcaa37fee Use err(3). Add usage(). 1997-08-08 12:18:16 +00:00
charnier
45f7e36166 Remove argv0, cosmetic in usage(), use err(3), add Xr to rwho(1) and users(1). 1997-08-08 12:12:54 +00:00
steve
2ae4bfe0cf More minor nits (mostly using memove instead of memcpy). 1997-08-08 00:54:05 +00:00
steve
fe3edcd2a1 More $@ -> ${.TARGET} that I missed earlier. 1997-08-08 00:49:25 +00:00
steve
e753f957ea Observe precedence set by Philippe Charnier when adding an
rcsid.
1997-08-07 22:33:01 +00:00
steve
34c71a268a Observe precedence set by Phillippe Charnier in adding an
rcsid.
1997-08-07 22:28:25 +00:00
steve
c61e376617 #include <unistd.h> for getopt(3) call. 1997-08-07 21:47:31 +00:00
steve
8eb2ceeba6 Changes include: sccsid -> rcsid, bcopy -> memcpy, don't use the
register keyword, and -Wall cleaning.

Obtained from: similar changes in NetBSD
1997-08-07 21:42:17 +00:00
steve
717042838c Remove remaining Lite1 stuff from the man page and uphold the
precedence in changing sccsid to rcsid as set by Phillippe
Charnier in his previous 100 or so commits.

pointed out by: Bruce Evans <bde@zeta.org.au>
1997-08-07 21:37:39 +00:00
steve
792ebc1ba3 sccsid -> rcsid and fix some minor nits. 1997-08-07 21:33:47 +00:00
steve
548d1c0056 Add Bruce's _NEW_VFSCONF flag to make this compile cleanly and
sccsid -> rcsid.
1997-08-07 21:31:00 +00:00
fsmp
585d84061d Fixes kern/3835: SMP kernel crash on enable "dumps on wd0"
- SMP: set value of curproc in main(), before the SYSINIT stuff runs.

Reviewed by:	Bruce Evans <bde@zeta.org.au>
1997-08-07 21:22:29 +00:00
steve
f465f4c450 #include <err.h> for err(3) call and replace extern reference to errno
with #include <errno.h>.
1997-08-07 15:41:51 +00:00
steve
ab9afdf00d Remove #if(n)def BSD_4_4_LITE cruft and change sccsid to rcsid. 1997-08-07 15:37:47 +00:00
steve
2eae399bf6 Remove #if(n)def BSD_4_4_LITE cruft and sccsid -> rcsid. 1997-08-07 15:33:50 +00:00
bde
37eb5f3ab0 Don't use /sys.
Submitted by:	Jeremy Lea <reg@shale.csir.co.za>
1997-08-07 13:23:37 +00:00
charnier
2996a416cc Use err(3), so eliminate use of `argv0'. 1997-08-07 06:50:02 +00:00
charnier
c20801fff5 Use err(3) instead of local definition.
Cosmetic in man page: do not start describing a flag with `The option -X ..'.
1997-08-07 06:46:45 +00:00
charnier
c1ea49e6b1 Use err(3). Add usage(). Rewrote man page in mdoc format. 1997-08-07 06:42:37 +00:00
dyson
7ef841bb28 Fix the DDB breakpoint code when using the 4MB page support. 1997-08-07 05:15:52 +00:00
jdp
5518cdfcf3 Add cvsup2.ua.freebsd.org.
Rename the MIT mirror to cvsup3.freebsd.org.
1997-08-07 05:12:41 +00:00
dyson
85f902e519 More vm_zone cleanup. The sysctl now accounts for items better, and
counts the number of allocations.
1997-08-07 03:52:55 +00:00
julian
f4c7456c09 don't lose track of how many packets we've sent
if we get 'host unreachable'. (or any other errors than ENOBUFS)
makes -c work again even if you can't get there..
This really needs a rework..
1997-08-07 02:41:15 +00:00
se
9a6e75fa0c Remove two features that have been reported to cause problems with
certain variants of the NCR chip from FE_CACHE_SET: FE_CLSE (enable
cache-line size register) and FE_ERMP (enable read-multiple). They
will be re-enabled, if a fix for the underlying problem (a restriction
in the memory to memory move logic of some chips) has been implemented.
1997-08-06 20:25:54 +00:00
ache
9f4c4482b5 runshutdown(): get rid of getdtablesize loop, it gains nothing now
but can waste time if many descriptors are available
1997-08-06 16:34:51 +00:00
ache
a867dc6278 rc.shutdown fixes:
1) revoke -> HUP
2) controlling terminal already present
3) add missing setprocresources call
1997-08-06 16:07:52 +00:00
peter
5f97c2ec97 printf does not understand %hd in the kernel 1997-08-06 11:08:01 +00:00
kato
7fb777a1f4 Synchronize with sys/i386/i386/machdep.c revision 1.254. 1997-08-06 09:43:45 +00:00
kato
2ec57417ef Synchronize with sys/i386/isa/sio.c revision 1.174. 1997-08-06 09:42:57 +00:00
kato
3dc01ff10f Synchronize with sys/i386/isa/wd.c revision 1.134. 1997-08-06 09:41:59 +00:00
charnier
f80921726b Use err(3), cosmetic in usage(). 1997-08-06 06:49:06 +00:00
charnier
4dfc83bbfa Use err(3), cosmetic in usage(), remove `cmdname'. 1997-08-06 06:47:41 +00:00
dyson
5f9cb6429d Add exposure of some vm_zone allocation stats by sysctl. Also, change
the initialization parameters of some zones in VM map.  This contains
only optimizations and not bugfixes.
1997-08-06 04:58:05 +00:00
itojun
977f60f91e PR: kern/4117
Reviewed by:	ishii@csl.sony.co.jp, kjc@csl.sony.co.jp

checked with FreeBSD+Riscom - cisco4500 configuration.
1997-08-06 01:43:09 +00:00
rgrimes
a379f75853 Add #if __FreeBSD__ >= 3 around #include <net/if_var.h> so that this
can compile under both FreeBSD 2.x and 3.x.
1997-08-06 00:45:23 +00:00
alex
46a6ff520b Ensure that the interface name is terminated. 1997-08-06 00:19:05 +00:00
ache
00ca5799cb Detect null secret as error, it is temp. fix until next release
Submitted by: Craig Metz <cmetz@inner.net>
1997-08-05 23:15:28 +00:00
dyson
e150d815cc Fixed the commit botch that was causing crashes soon after system
startup.  Due to the error, the initialization of the zone for
pv_entries was missing.  The system should be usable again.
1997-08-05 23:03:24 +00:00
dyson
2649bd0b26 Another attempt at cleaning up the new memory allocator. 1997-08-05 22:24:31 +00:00
dyson
55205b3be5 Fix some bugs, document vm_zone better. Add copyright to vm_zone.h. Use
the new zone code in pmap.c so that we can get rid of the ugly ad-hoc
allocations in pmap.c.
1997-08-05 22:07:27 +00:00
ache
fbd1e32f91 Add -t option which turns T/TCP off as workaround for some broken servers
Submitted by: Marc Slemko <marcs@znep.com>
1997-08-05 20:18:39 +00:00
ache
ee162dd22f Improve weak locking by using flock() 1997-08-05 12:58:02 +00:00
charnier
b064615bee Use err(3). Document -l flag.
Obtained from: OpenBSD
1997-08-05 06:46:46 +00:00
charnier
828df579fb Document that multiple args are allowed, i.e Ar file -> Ar file ... 1997-08-05 06:44:28 +00:00
charnier
86e0f07edd Use err(3). Add usage() and prototypes. 1997-08-05 06:42:48 +00:00