Age | Commit message (Collapse) | Author |
|
|
|
ok deraadt@
|
|
floppies and cd's were removable, displaying that fact in disklabel
output was unlikely to help. And the display in disklabel was the only
use of D_REMOVABLE in the tree.
ok marco@
|
|
ok drahn@ brad@ mickey@ deraadt@
|
|
ok hshoexer
|
|
but surely needs more testing and some more modifications.
|
|
Did these vendors really really really not think? Absolute morons.
|
|
|
|
|
|
[m]sk_alloc_jumbo_mem().
|
|
problem noticed by frederic culot (pr #5243)
ok deraadt pval
|
|
|
|
the strtol() error checking block for the strtol() assignment for the
same variable.
ok brad mglocker
|
|
$ grep -x ""
matches empty lines as reported on misc@ by
Martin Marusak <marusak@fhpv.unipo.sk>.
Initial diff by otto@ with tweaks by me.
ok otto
|
|
|
|
applications that install their own thread stack red-zones with mprotect
PROT_NONE from entering the malloc pool when the pages are freed.
- round up requested thread stack size to closest page boundary to
simplify the red-zone calculations.
okay brad@
|
|
Adjust design of file descriptor table to eliminate races
with both opening and closing of file descriptor entries
and eliminates one class of deadlocks. One nice side effect
of this change in design should be better performance for
applications that open and close many file descriptors due
to reduced fd_table_lock contention and fd entry reuse.
- Add entry states to manage use of entry and eliminate
some closing races. fd entries are not deallocated upon
close() now.
- Call _thread_fd_table_init with one of five discreet
modes to properly initialize an entry and manage the
state transition to open.
- When closing an entry hold the entry spinlock locked
across the state transition and the _thread_sys_close
call to close another race.
- Introduce a new lock type FD_RDWR_CLOSE that transitions
either a closed entry or an open entry into closing state
and then waits for a RDWR lock so that the lock queue can
unwind normally. All subsequent fd lock attempts for that
entry are rejected with EBADF until the fd is fully closed,
or reopened by dup2(). Once a thread holds the FD_RDWR_LOCK
it is safe to close() it or dup2() on it.
- When a thread creates a new fd there is a window of time
when another thread could attempt to use the fd before the
creating thread has initialized the entry for it. This can
result in improper status_flags for the entry, so record
the entries init mode, detect when this has happened and
correct the status_flags when needed.
reviewed by marc@ & brad@, tested by several, okay brad@
|
|
|
|
receive large frames until mtu is set to higher value (later piece from brad); brad@ ok
|
|
Tested by claudio and me so far.
ok jsg@
|
|
|
|
From redzonemiata at yahoo.co.jp via FreeBSD PR 86195
|
|
packet lenght even though ospfd does not produce such packets.
OK norby@
|
|
Found by me and corrected by claudio@ during the r2k6.
ok claudio@
|
|
ok deraadt@
|
|
|
|
softdep processing and temporarily create inconsistant
on-disk ffs state and as well abuse kmem.
pedro@ deraadt@ ok; tested by many
|
|
no functional change.
|
|
|
|
Bloomsburg.
|
|
CVE-2006-3918; ok cloder@
|
|
of tweeks. Leave it commented out in GENERIC and files.macppc for now.
ok kettenis@, brad@
|
|
OK joris@.
|
|
|
|
|
|
|
|
chipsets.
From the Linux sky2 driver in the mm kernel tree.
|
|
cool and recognizes __dead, and because shorter examples are clearer.
OK otto@.
|
|
it turns out a drivers detach code isnt called when the machine is shutting
down, which meant my bits to stop bgrb and sync the cache werent being
run. without those bits being run the filesystems on these controllers
were never clean on reboot, so we'd always get an fsck.
so now we provide a shutdown hook which does get run on shutdown to sync
the cache properly.
found by claudio@
|
|
only ack the interrupts we deal with in the interrupt handler.
use the correct macros when setting the interrupt mask.
|
|
third clause of his license and strike the phrase "All rights reserved", so we
can consolidate both license blocks into one. Thanks!
|
|
|
|
have multiple bits set, which lead to surprising results. Spotted by
Paul Stoeber. ok kettenis@
|
|
s_lrint.c and s_lrintf.c, and add i387-specific assembler versions.
ok deraadt@, otto@
|
|
|
|
have multiple bits set, which lead to surprising results. Spotted by
Paul Stoeber. ok djm@
|
|
"looks good" pedro, fgsch, ok otto
|
|
have multiple bits set, which lead to surprising results. Spotted by
from Paul Stoeber, more to come. ok miod@
|
|
have multiple bits set, which lead to surprising results. Spotted by
from Paul Stoeber, more to come.
|
|
have multiple bits set, which leads to surprising results. Spotted by
from Paul Stoeber, more to come. ok jaredy@
|