summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-12-18update usage() and the list of non-standard (i.e. non-posix) options;Jason McIntyre
ok schwarze
2014-12-18document power capacity units. from david higgsTed Unangst
then change everything from mu to u, as more traditional. ok deraadt
2014-12-18only unroll on i386 and amd64 (where confirmed to be much faster).Ted Unangst
naddy found sparc64 gets a little slower when unrolled. ok deraadt
2014-12-18Only keep leading .Sm inside a list when it immediately precedesIngo Schwarze
the first .It. Otherwise, move it out together with whatever follows. Fixing an assertion failure found by jsg@ with afl.
2014-12-18use suspend_randomness() and resume_randomness()Theo de Raadt
2014-12-18Wrap more of these long lines.Reyk Floeter
2014-12-18two more uses of siphash. better hash for ipv4. maybe not needed for rbtreeTed Unangst
hint, but still pretty. ok deraadt
2014-12-18simple to use siphash here. ok deraadtTed Unangst
2014-12-18When the head of a list item is extended with a partial explicitIngo Schwarze
macro (for example .Xo) and never closed again, the item ends up without a body block. This can even happen for list types that usually don't have heads in the first place. So even in this case, check for the existence of the body before accessing it. NULL pointer access found by jsg@ with afl.
2014-12-18wrap unreasonably long linesTheo de Raadt
2014-12-18The VM host might send multiple messages at once but vmt(4) onlyReyk Floeter
processed one of time per second. Change the code to process all queued messages without delay immediately. This fixes two things: a) the vmt time sensor is available on boot when ntpd -s is loaded and b) the random seeding on resume (OS_Resume message) is executed almost immediately and not delayed by about 20 seconds. ok deraadt@
2014-12-18use siphash for pf_lb. for ipv6, we stretch it out a bit, but good enough.Ted Unangst
ok reyk
2013-11-26import NSD 4.0.0, tests from Dorian Büttner, Patrik Lundin, requested by ↵Stuart Henderson
brad@
2010-01-15NSD v3.2.4Jakob Schlyter
2014-12-18Don't let the modulo operator divide by zero.Ingo Schwarze
Found by jsg@ with afl.
2014-12-18perform cpu setperf at same position in sequence as acpi.cTheo de Raadt
2014-12-18suspend & resume RNG subsystemTheo de Raadt
2014-12-18suspend and resume the RNG (at what looks like the right spots)Theo de Raadt
ok reyk djm
2014-12-18When a VM resume occurs, request information from the VM and enqueue asTheo de Raadt
entropy - then do a RNG resume. If the VM signals a boot/reboot/suspend action, push the RNG into suspend. ok reyk djm
2014-12-18Create a suspend/resume infrastructure for the RNG. At suspend time,Theo de Raadt
process all queued entropy and create a brand new pool to prevent backtracking upon resume. At resume time, process the entropy queue (since other resume code paths which run earlier can enqueue entropy) and force all higher to reseed. ok reyk djm
2014-12-18If support is present, use rdrand() at resume time. Make the rdrand()Theo de Raadt
function easier to call. ok reyk djm
2014-12-18Change the link state change routing message generation to a taskq.Kenneth R Westerback
One less workq to worry about. Tweaks from many. ok mpi@ mikeb@
2014-12-18Merge from NetBSD r1.54 from Matthias Drochner:Martin Pieuchot
-- kick out the error-prone handcrafted single-linked list of cardbus functions; replace by a simple *array[8] -- In other words, prevent a use after free when removing a cardbus function. ok deraadt@, miod@
2014-12-18ansi function prototypes. no functional change.David Gwynne
2014-12-18white space tweaks, no functional change.David Gwynne
2014-12-18replace splhigh and a simplelock with a mutex.David Gwynne
slight tweak and testing by deraadt@ ok miod@
2014-12-18If a host controller has been detached or reported a halt condition itMartin Pieuchot
should be considered as dead. In such condition the stack no longer submits I/O or schedules any USB task for its bus. However we need an explore task to detach the root hub since only the task thread is supposed to discover buses and attach/detach devices in order to avoid races. So reset the bus' dying flag when marking it as disconnecting in order to let the task be scheduled. This should be safe because a detached or halted HC should not trigger any new interrupt. Fix a panic when detaching USB PCMCIA cards reported by Tilo Stritzky.
2014-12-18Document * and :: to listen on all IPv4 or IPv6 addresses.Reyk Floeter
2014-12-18Accept * as an alias for the default ipv4 listen address.Reyk Floeter
OK jsg@
2014-12-18"tcp nodelay" shouldn't be discussing relaying SSH; this was a remnantReyk Floeter
from relayd.conf.5. From Ross L Richardson
2014-12-18Unmap the MP hatch and ACPI resume trampolines when not in active use.Mike Larkin
ok deraadt@
2014-12-18The code is already careful to not add items to lists that wereIngo Schwarze
already closed. In this respect, also consider lists closed that have broken another block, their closure pending until the end of the broken block. This avoids syntax tree corruption leading to a NULL pointer access found by jsg@ with afl.
2014-12-17the easier way to put a buffer on the stack is to put it on the stack,Ted Unangst
not with alloca(). found by dickman; ok kettenis
2014-12-17unroll loops. much faster on amd64. ok deraadt millertTed Unangst
2014-12-17remove lock.h from uvm_extern.h. another holdover from the simpletonlockTed Unangst
era. fix uvm including c files to include lock.h or atomic.h as necessary. ok deraadt
2014-12-17unroll loops for sha2. quite a bit faster for amd64.Ted Unangst
ok deraadt millert
2014-12-17minimal removal of simplelock to eliminate lock.h dependencyTed Unangst
2014-12-17fix/reduce header dependencies. clock.c doesn't need any of this uvm.Ted Unangst
ok deraadt kettenis
2014-12-17Be a bit more lenient in what to accept for section names givenIngo Schwarze
as the first man(1) command line argument without -s: Accept digits like "1", "2"; digit+letter like "3p", "1X"; and "n". Issue reported by Svyatoslav Mishyn <juef at openmailbox dot org> (Crux Linux).
2014-12-17Add size_t to int checks for SSL functions.Doug Hogan
libtls accepts size_t for lengths but libssl accepts int. This verifies that the input does not exceed INT_MAX. It also avoids truncating size_t when comparing with int and adds printf-style attributes for tls_set_error(). with input from deraadt@ and tedu@ ok tedu@
2014-12-17Use log_warnx() not log_warn() for mail loop warning since errnoTodd C. Miller
is not set. OK gilles@
2014-12-17Avoid premature masking in the interrupt handler code that checks for removedMark Kettenis
hardware. ok mpi@, deraadt@
2014-12-17remove simplelocks (trivial)Theo de Raadt
2014-12-17delete simplelocksTheo de Raadt
2014-12-17remove simplelocksTheo de Raadt
ok tedu
2014-12-17pretty easy removal of simplelocksTheo de Raadt
ok miod (a while back)
2014-12-17remove simplelocksTheo de Raadt
ok kettenis
2014-12-17remove simplelocks useTheo de Raadt
ok kettenis mpi
2014-12-17Add missing flag in the description field.Reyk Floeter
2014-12-17add umcs(4)Jonathan Gray