Commit Graph

54488 Commits

Author SHA1 Message Date
ru
40cf00e241 Use groff(1) versions of these documents. 2000-11-27 09:23:27 +00:00
obrien
986d880de4 Using `r'aw device name is out of vogue now. 2000-11-27 09:19:18 +00:00
ru
577f4dff6f Eliminate groff(1) warnings. 2000-11-27 08:50:56 +00:00
ume
a58a1e8b3f Add missing initialization for IPv6 address lifetime.
PR:		misc/22884
Obtained from:	KAME
2000-11-27 08:44:57 +00:00
kris
75f6720a4f Constify 2000-11-27 08:18:58 +00:00
kris
608224f4ac Fix format string warnings 2000-11-27 07:57:44 +00:00
ru
c929208bb8 Eliminate groff(1) warnings: unbreak refer(1)ences. 2000-11-27 07:55:08 +00:00
kris
303a4f96b9 Format string auditing 2000-11-27 07:35:53 +00:00
kris
9f0ff212ac Previous commit was a format string auditing fix 2000-11-27 07:32:29 +00:00
kris
1f7d1d4b1f Fix format string warnings 2000-11-27 07:28:15 +00:00
obrien
ea5b149e3e Don't install the osf1 script from here. It causes the release build to
break as ${DESTDIR}/usr/bin doesn't exist where the module is being
installed.
2000-11-27 07:27:44 +00:00
kris
4a4fa974c1 Constify 2000-11-27 07:21:37 +00:00
ru
98a287a66e Eliminate groff(1) warnings. 2000-11-27 07:19:06 +00:00
kris
bea660926e *** empty log message *** 2000-11-27 06:55:38 +00:00
kris
94eacffcfa Constify 2000-11-27 06:40:35 +00:00
kris
b52dd902d5 Constify 2000-11-27 06:26:48 +00:00
kris
a5289e99bd Fix format string warnings.
Submitted by:	nra
Obtained from:	NetBSD
2000-11-27 04:26:39 +00:00
brian
bad4a365fe Change interactive mode so that a monitor thread keeps an eye on the
ppp descriptor and signals the terminal thread when there's something
to read on that descriptor.

This means that the main loop doesn't have to alarm() itself into
dropping out of el_gets() frequently to check the descriptor.  This
dropping out was disturbing syscons (via ioctl()s from libedit) enough
to reset the screensaver timeout every .5 of a second.

PR:	20345
2000-11-27 02:31:25 +00:00
obrien
4a3cb8d124 `cdboot' is broken as it cannot load a kernel.
The release engineer keeps using the wrong /boot/cdboot when creating the
ISO images.  So we'll add the 4.0-RELEASE cdboot to the tree until someone
bothers to fix the source so a working `cdboot' is built.
2000-11-27 02:15:13 +00:00
alfred
614730a418 ucred system overhaul:
1) mpsafe (protect the refcount with a mutex).
2) reduce duplicated code by removing the inlined crdup() from crcopy()
   and make crcopy() call crdup().
3) use M_ZERO flag when allocating initial structs instead of calling bzero
   after allocation.
4) expand the size of the refcount from a u_short to an u_int, by using
   shorts we might have an overflow.

Glanced at by: jake
2000-11-27 00:09:16 +00:00
dannyboy
a7e1babad9 compatability -> compatibility
PR:		23114
Submitted by:	Jimmy Olgeni <olgeni@uli.it>
2000-11-26 23:51:07 +00:00
dannyboy
39eefb2f5b compatability -> compatibility
PR:		23112
Submitted by:	Jimmy Olgeni <olgeni@uli.it>
2000-11-26 23:43:15 +00:00
dwmalone
d31388b92e Don't scroll of the end of the help pages when using the visual
option in for "boot -c".

PR:		17539
Submitted by:	Edwin.Groothuis@cgmd76206.chello.nl
2000-11-26 23:39:46 +00:00
obrien
21353e6b13 Note that the `fmt' parameter is a printf()-like string. 2000-11-26 23:33:40 +00:00
danny
229c440944 Prevent leakage of information about anonymous user's homedir
via 'QUOTE CWD'.

Reviewed by:	des
2000-11-26 23:33:36 +00:00
dannyboy
c89ed74f61 Typo fix: forgot -> forget.
PR:		23113
Submitted by:	Jimmy Olgeni <olgeni@uli.it>
2000-11-26 23:26:51 +00:00
kris
24d7d40917 Cleanup this code a bit by attempting to sync it up with NetBSD and
with each other.

Reviewed by:	markm, dwmalone
2000-11-26 22:36:35 +00:00
kris
638b5b2282 Correct definition of MAXHOSTNAMELEN in ifdef'ed out code 2000-11-26 22:21:39 +00:00
kris
087adbb847 MAXHOSTNAMELEN is 256, not 64 2000-11-26 22:20:17 +00:00
obrien
734ffeb5ee Use the vendor's manpages (which are in old -man format) rather than
our modified one based on a much older version of the vendor's manpage.
2000-11-26 22:19:56 +00:00
brian
92a7efc5b6 Add ${LIBC_R} 2000-11-26 22:19:52 +00:00
kris
d20a282a16 Correct definition of MAXHOSTNAMELEN in ifdef'ed out code. 2000-11-26 22:18:11 +00:00
jlemon
17aeda1452 Fix another callout_init() that I missed. 2000-11-26 21:59:30 +00:00
jlemon
55440769df Unbreak world; #include <sys/mutex.h> instead of <machine/mutex.h>
Only include <sys/mbuf.h> when building kernel sources.  This should
probably be changed to require callers to include it themselves.
2000-11-26 21:47:01 +00:00
kris
35eec2074d Correct definition of MAXHOSTNAMELEN in ifdef'ed code.
Submitted by:	Edwin Groothuis <mavetju@chello.nl>
PR:		bin/22787
2000-11-26 21:37:51 +00:00
obrien
f568f6a3a3 Information on how I did the import and upgrade instructions. 2000-11-26 21:29:25 +00:00
obrien
c72f3eb099 This commit was generated by cvs2svn to compensate for changes in r69216,
which included commits to RCS files with non-trunk default branches.
2000-11-26 21:26:20 +00:00
obrien
150ca1a161 Virgin import of Christos Zoulas FILE 3.33. 2000-11-26 21:26:20 +00:00
alfred
011c33c2f9 Move the #define of _KERN_MUTEX_C_ so that it's before any system headers
are included.  System headers can include sys/mutex.h and then certain
macros do not get defined.

Reviewed by: jake
2000-11-26 21:14:17 +00:00
phk
7101ba5caa Simplify the tprintf() API.
Loose the special <sys/tprintf.h> #include file.
2000-11-26 20:35:21 +00:00
phk
7c4763bbdd Make log(-1, ...) do what addlog(...) did.
Replace all uses of addlog(...) with log(-1, ...)

Remove bogus "register" keywords in subr_prf.c

Make log() return void.
2000-11-26 19:34:06 +00:00
phk
2ad308fd87 Make diskerr() always log with printf. 2000-11-26 19:29:15 +00:00
phk
0f144020e7 unhook netgraph/bridge until somebody makes it compile in LINT 2000-11-26 16:40:00 +00:00
jake
089f02872c Add uidinfo hash and uidinfo struct to the witness order list. 2000-11-26 15:05:46 +00:00
jlemon
bf6537e7c7 Add 'mpsafe' parameter to callout_init() in MD bits.
Reminded by:  jake
2000-11-26 13:52:17 +00:00
alfred
fe53724a0f Make uidinfo subsystem mpsafe
use a mutex lock when looking up/deleting entries on the hashlist
use a mutex lock on each uidinfo when updating fields

make uifree() a void function rather than 'int' since no one cares

allocate uidinfo structs with the M_ZERO flag and don't explicitly initialize
them

Assisted by: eivind, jhb, jakeb
2000-11-26 12:08:17 +00:00
kris
b64f677da6 Constify 2000-11-26 11:07:45 +00:00
kris
0bec2472fd sprintf -> snprintf 2000-11-26 11:04:45 +00:00
kris
2fd0241811 Constify 2000-11-26 10:56:12 +00:00
phk
5df764b518 Make it possible to override the function which writes messages to
stderr in case of warnings and errors.

Rename malloc_options to have a leading underscore, I belive I have been
told that is more correct namespace wise.
2000-11-26 10:30:18 +00:00