Commit Graph

54406 Commits

Author SHA1 Message Date
obrien
cb27828e12 Virgin import of Christos Zoulas's FILE 3.35. 2001-04-25 07:41:21 +00:00
obrien
b5e130840c Virgin import of Christos Zoulas's FILE 3.34. 2001-03-25 18:37:04 +00:00
cvs2svn
8178afbfe8 This commit was manufactured by cvs2svn to create branch 'VENDOR-file'. 2000-11-26 21:29:27 +00:00
obrien
282555282c Information on how I did the import and upgrade instructions. 2000-11-26 21:29:25 +00:00
obrien
bbc3da9928 Virgin import of Christos Zoulas FILE 3.33. 2000-11-26 21:26:20 +00:00
obrien
0f07f8ccfa 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
alfred
e560b30e46 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
a4213fe59e Simplify the tprintf() API.
Loose the special <sys/tprintf.h> #include file.
2000-11-26 20:35:21 +00:00
phk
e4fad7313f 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
682cdc8ec2 Make diskerr() always log with printf. 2000-11-26 19:29:15 +00:00
phk
dc6560f346 unhook netgraph/bridge until somebody makes it compile in LINT 2000-11-26 16:40:00 +00:00
jake
6337388bd0 Add uidinfo hash and uidinfo struct to the witness order list. 2000-11-26 15:05:46 +00:00
jlemon
c91118f2e3 Add 'mpsafe' parameter to callout_init() in MD bits.
Reminded by:  jake
2000-11-26 13:52:17 +00:00
alfred
9953819a1a 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
c275e51041 Constify 2000-11-26 11:07:45 +00:00
kris
7cc8d32e5f sprintf -> snprintf 2000-11-26 11:04:45 +00:00
kris
a966de6cc8 Constify 2000-11-26 10:56:12 +00:00
phk
8c1799b51f 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
35572f18e9 Constify 2000-11-26 10:21:54 +00:00
kris
e54ec272e3 Don't hard-code a buffer size 2000-11-26 10:05:06 +00:00
markm
cb78440681 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
6aaa026f1a Format string auditing 2000-11-26 09:51:46 +00:00
kris
210f68b2a3 sprintf -> snprintf 2000-11-26 09:05:40 +00:00
kris
c06fa5ed9f Don't call err() with user data and without a format string 2000-11-26 08:50:12 +00:00
kris
3c13566a2a vsprintf() -> vsnprintf() 2000-11-26 08:14:55 +00:00
kato
dd3d1527de Merged from sys/i386/i386/machdep.c revision 1.422. 2000-11-26 06:29:33 +00:00
dougb
7f8b56ec61 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
7bfe0a85e4 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
7dfe509e9a 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
6a3b3f16b2 Import a virgin (but trimed) Binutils 2.10 release. 2000-11-26 01:21:09 +00:00
phk
cc4398d1b8 Add the "LOG_CONSOLE" facility and tell syslogd to not log it on
console devices.
2000-11-25 21:00:58 +00:00
markm
60aaf28ed7 D'uh. The explicit reseed was happening at the wrong security/privelige
levels.
2000-11-25 20:08:07 +00:00
alc
d28155b620 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
ac15e3d6af Greatly improve the boot-up unblocking time of the entropy device. 2000-11-25 19:13:29 +00:00
markm
976c7bd4e6 More comment changing. Keep documentation in one place. 2000-11-25 18:00:54 +00:00
markm
095c870b17 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
d5a2164778 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
262176986e Add a constant for the (to be committed at a later time) irq-entropy
harvester.
2000-11-25 16:51:16 +00:00
obrien
7c5d9e57f8 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
obrien
16e3f2c22a stringify.sed' has been replaced by astring.sed' [on ANSI-C systems]. 2000-11-25 13:56:28 +00:00
obrien
2c4ea54716 Don't compile libgcc_r twice. 2000-11-25 13:04:08 +00:00
obrien
e50fd5973d Import of GNU Binutils version 2.10.1.
Believe it or not, this is heavily stripped down.
2000-11-25 10:29:36 +00:00
obrien
db59dfee2a This commit was generated by cvs2svn to compensate for changes in r69159,
which included commits to RCS files with non-trunk default branches.
2000-11-25 10:29:36 +00:00
obrien
4d5f3e340c Remove binutils 2.9.1 files that are not part of 2.10.x. 2000-11-25 10:23:21 +00:00
obrien
70d902903c Remove binutils 2.9.1 files that are not part of 2.10.x. 2000-11-25 09:57:13 +00:00
peter
5e4df2405b Fix a mangled $Id string 2000-11-25 09:10:55 +00:00
peter
1e3d003536 GC some defunct prototypes 2000-11-25 08:13:33 +00:00
jlemon
e434f2a658 Change the driver to allocate its own callout structure, and modify
the interface to use callout_* instead of timeout().  Also add an
IS_MPSAFE #define (currently off) which will mark the driver as mpsafe
to the upper layers.
2000-11-25 08:00:10 +00:00
jlemon
a378c6e041 Remove unused variable, spl() manipulation isn't done for the ifq now. 2000-11-25 07:50:27 +00:00
jlemon
af6d4768d5 Lock down the network interface queues. The queue mutex must be obtained
before adding/removing packets from the queue.  Also, the if_obytes and
if_omcasts fields should only be manipulated under protection of the mutex.

IF_ENQUEUE, IF_PREPEND, and IF_DEQUEUE perform all necessary locking on
the queue.  An IF_LOCK macro is provided, as well as the old (mutex-less)
versions of the macros in the form _IF_ENQUEUE, _IF_QFULL, for code which
needs them, but their use is discouraged.

Two new macros are introduced: IF_DRAIN() to drain a queue, and IF_HANDOFF,
which takes care of locking/enqueue, and also statistics updating/start
if necessary.
2000-11-25 07:35:38 +00:00