Commit Graph

23041 Commits

Author SHA1 Message Date
Joerg Wunsch
980d03ebfb Mention the fix for CA-97.17. 1997-08-08 20:58:50 +00:00
Joerg Wunsch
66457fe332 Fix a buffer overflow condition (that causes a security hole in suidperl).
Closes: CERT Advisory CA-97.17 - Vulnerability in suidperl
Obtained from: (partly) the fix in CA-97.17
1997-08-08 20:53:59 +00:00
Julian Elischer
a39a7bceee Make a function static to quieten gcc 1997-08-08 20:29:47 +00:00
Julian Elischer
e142af9aba 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
Alexander Langer
750f6aad7b 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
Philippe Charnier
236d2f5583 Add usage(). Use err(3) instead of local redefinition. 1997-08-08 12:24:49 +00:00
Philippe Charnier
2545677c14 Use err(3). Cosmetic in usage(). Rewrote man page in mdoc format. 1997-08-08 12:22:30 +00:00
Philippe Charnier
157f1c6c00 Use err(3). Add usage() and prototypes. Add Xr to who(1). 1997-08-08 12:20:24 +00:00
Philippe Charnier
3f9b28f9d0 Use err(3). Add usage(). 1997-08-08 12:18:16 +00:00
Philippe Charnier
223884e545 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 Price
880fdc3dd9 More minor nits (mostly using memove instead of memcpy). 1997-08-08 00:54:05 +00:00
Steve Price
242fa23c9c More $@ -> ${.TARGET} that I missed earlier. 1997-08-08 00:49:25 +00:00
Steve Price
bc4b855161 Observe precedence set by Philippe Charnier when adding an
rcsid.
1997-08-07 22:33:01 +00:00
Steve Price
febad2fcf4 Observe precedence set by Phillippe Charnier in adding an
rcsid.
1997-08-07 22:28:25 +00:00
Steve Price
9d19feb501 #include <unistd.h> for getopt(3) call. 1997-08-07 21:47:31 +00:00
Steve Price
380fdd7d7e 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 Price
395f4bf0be 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 Price
5967604a1e sccsid -> rcsid and fix some minor nits. 1997-08-07 21:33:47 +00:00
Steve Price
16cc192af1 Add Bruce's _NEW_VFSCONF flag to make this compile cleanly and
sccsid -> rcsid.
1997-08-07 21:31:00 +00:00
Steve Passe
6b556c4b4c 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 Price
ab1733642c #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 Price
41cc862cc2 Remove #if(n)def BSD_4_4_LITE cruft and change sccsid to rcsid. 1997-08-07 15:37:47 +00:00
Steve Price
d46c1a60d3 Remove #if(n)def BSD_4_4_LITE cruft and sccsid -> rcsid. 1997-08-07 15:33:50 +00:00
Bruce Evans
88ed4cecd8 Don't use /sys.
Submitted by:	Jeremy Lea <reg@shale.csir.co.za>
1997-08-07 13:23:37 +00:00
Philippe Charnier
692bc4fdc9 Use err(3), so eliminate use of `argv0'. 1997-08-07 06:50:02 +00:00
Philippe Charnier
ed43a0f914 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
Philippe Charnier
e25f6756fb Use err(3). Add usage(). Rewrote man page in mdoc format. 1997-08-07 06:42:37 +00:00
John Dyson
d3d1eb995b Fix the DDB breakpoint code when using the 4MB page support. 1997-08-07 05:15:52 +00:00
John Polstra
991d8bd99f Add cvsup2.ua.freebsd.org.
Rename the MIT mirror to cvsup3.freebsd.org.
1997-08-07 05:12:41 +00:00
John Dyson
f1c1c5b5a4 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 Elischer
363d7bbe50 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
Stefan Eßer
6d529e4303 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
Andrey A. Chernov
3ee1f2280e 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
Andrey A. Chernov
25cf4a545a 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 Wemm
2a1b9e9bc5 printf does not understand %hd in the kernel 1997-08-06 11:08:01 +00:00
KATO Takenori
22ed4a0ab5 Synchronize with sys/i386/i386/machdep.c revision 1.254. 1997-08-06 09:43:45 +00:00
KATO Takenori
b8baf50c94 Synchronize with sys/i386/isa/sio.c revision 1.174. 1997-08-06 09:42:57 +00:00
KATO Takenori
7350182aef Synchronize with sys/i386/isa/wd.c revision 1.134. 1997-08-06 09:41:59 +00:00
Philippe Charnier
81c44dca8a Use err(3), cosmetic in usage(). 1997-08-06 06:49:06 +00:00
Philippe Charnier
0e76f40d09 Use err(3), cosmetic in usage(), remove `cmdname'. 1997-08-06 06:47:41 +00:00
John Dyson
507b10b48c 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
Jun-ichiro itojun Hagino
16050303bd 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
Rodney W. Grimes
d607bc7f6a 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
Alexander Langer
37d06d64cd Ensure that the interface name is terminated. 1997-08-06 00:19:05 +00:00
Andrey A. Chernov
6d0f9ab962 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
John Dyson
ba9be04c72 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
John Dyson
0d65e566b9 Another attempt at cleaning up the new memory allocator. 1997-08-05 22:24:31 +00:00
John Dyson
b79933ebfa 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
Andrey A. Chernov
f4e4504f06 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
Andrey A. Chernov
e1a10354cb Improve weak locking by using flock() 1997-08-05 12:58:02 +00:00