Commit Graph

54417 Commits

Author SHA1 Message Date
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
kris
8eae02ff46 Constify 2000-11-26 10:21:54 +00:00
kris
a6b6cceedc Don't hard-code a buffer size 2000-11-26 10:05:06 +00:00
markm
fca882bcb5 Fix safety-net code. While technically a bug, I'm delighted to see
that it has never (apparently) been invoked.

Submitted by:	ache
2000-11-26 09:58:18 +00:00
kris
54640b61fa Format string auditing 2000-11-26 09:51:46 +00:00
kris
092949d321 sprintf -> snprintf 2000-11-26 09:05:40 +00:00
kris
7af08112ad Don't call err() with user data and without a format string 2000-11-26 08:50:12 +00:00
kris
5d942789bc vsprintf() -> vsnprintf() 2000-11-26 08:14:55 +00:00
kato
b78e6d6acc Merged from sys/i386/i386/machdep.c revision 1.422. 2000-11-26 06:29:33 +00:00
dougb
9f2c0f4ce4 Add the remaining pseudo-users as aliases to root
PR:		conf/23105
Submitted by:	Matthew West, mwest@uct.ac.za
2000-11-26 05:28:22 +00:00
kris
05c00631fc Properly fix the temporary file creation in the case of multiple
command-line arguments.

Noticed by:	dynamo <dynamo@ime.net>
2000-11-26 03:37:34 +00:00
obrien
eb309bb4e9 This commit was generated by cvs2svn to compensate for changes in r69180,
which included commits to RCS files with non-trunk default branches.
2000-11-26 01:21:09 +00:00
obrien
7fbb72605a Import a virgin (but trimed) Binutils 2.10 release. 2000-11-26 01:21:09 +00:00
phk
bf5f996644 Add the "LOG_CONSOLE" facility and tell syslogd to not log it on
console devices.
2000-11-25 21:00:58 +00:00
markm
24be0469f9 D'uh. The explicit reseed was happening at the wrong security/privelige
levels.
2000-11-25 20:08:07 +00:00
alc
e31e67991f Undo rev 1.8: This commit actually added a second declaration
of aio_error() to the same file.
2000-11-25 19:35:49 +00:00
markm
6ac673bf3c Greatly improve the boot-up unblocking time of the entropy device. 2000-11-25 19:13:29 +00:00
markm
cad5a0b685 More comment changing. Keep documentation in one place. 2000-11-25 18:00:54 +00:00
markm
75a7091fce Correct a comment. This represents a very minor policy change of my
intentions with this code.
2000-11-25 17:58:11 +00:00
markm
9ec7bc0451 Stop explicitly using nanotime(9) and use the new get_cyclecounter(9)
call instead.

This makes a pretty dramatic difference to the amount of work that
the harvester needs to do - it is much friendlier on the system.
(80386 and 80486 class machines will notice little, as the new
get_cyclecounter() call is a wrapper round nanotime(9) for them).
2000-11-25 17:09:01 +00:00
markm
64d964e98e Add a constant for the (to be committed at a later time) irq-entropy
harvester.
2000-11-25 16:51:16 +00:00
obrien
40bf148c56 Deal with a real PITA in that GDB 4.18 (as we imported it) requires a
`wait.h' that was in contrib/binutils/, however this wait.h went away with
bintuils 2.10.0 so I `cvs rm'ed it.  Now we find gdb will not build.  This
binutils wait.h contained nothing we didn't already have in <sys/wait.h>.
So just hack a symlink to it.
2000-11-25 13:59:49 +00:00