Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-12-19 | Make input off flag (selectp -d) apply to synchronize-panes too. | Nicholas Marriott | |
2015-12-19 | Delete superfluous "continue;" just before end of loop. | Kenneth R Westerback | |
2015-12-19 | More style improvement and removal of NULL/allocation casts. | mmcc | |
ok tb@ | |||
2015-12-19 | Delete superfluous "close(s);return" just before "close(s);<function | Kenneth R Westerback | |
exit>". | |||
2015-12-18 | Remove code for unimplemented ElGamel support that's been disabled for | mmcc | |
sixteen years. ok millert@, tb@, sthen@ | |||
2015-12-18 | Make ix(4) mpsafer. Take advantage of intr_barrier() to eliminate the mutex | Mark Kettenis | |
introduced in the previous step, and use atomic instructions to make the tx completion path mpsafe as well. ok claudio@, mpi@ | |||
2015-12-18 | Fix SO_REUSE* flags effects when binding multicast addresses. No | Vincent Gross | |
regression observed on avahi. ok benno@ | |||
2015-12-18 | Check ioctl() result with == -1, not < 0. Break long line. | Kenneth R Westerback | |
2015-12-18 | Fix urtw(4) on big-endian architectures. Patch by Cedric Tessier. | Stefan Sperling | |
Tested by Cedric on macppc/i386, and by myself on macppc. | |||
2015-12-18 | Make ix(4) mpsafer. Take advantage of intr_barrier() to eliminate the mutex | Mark Kettenis | |
introduced in the previous step, and use atomic instructions to make the tx completion path mpsafe as well. ok claudio@, mpi@ | |||
2015-12-18 | KNF: add a missing space after an 'if'. | tb | |
2015-12-18 | A few more NULL casts and style tweaks. No functional change. | mmcc | |
2015-12-18 | Cleanup and modernization. No functional change. Discussed with halex@. | mmcc | |
2015-12-18 | Remove two error-on-NULL conditions for allocations that can't fail. | mmcc | |
ok visa@ | |||
2015-12-18 | Add library-based __sync functions for mips64. | Visa Hankala | |
Help with testing and ok kettenis@ | |||
2015-12-18 | Introduce a new function disk_has() to inspect a disk if it has a | Robert Peichaer | |
partition-table of a certain type and optionally if it has a partition of a certain type. Use disk_has() in the install.md script to replace all the various "fdisk <disk> | grep <pattern>" commands greatly simplifying things. positive feedback from sthen@ "time to get it really tested" deraadt@ OK krw@ | |||
2015-12-18 | pledge "stdio rpath wpath cpath dpath fattr", as long as the -m option | Theo de Raadt | |
wasn't used | |||
2015-12-18 | Remove leftover prototype. | Visa Hankala | |
ok mpi@ | |||
2015-12-18 | A store to FPA does not need splnet(). The operation is atomic. | Visa Hankala | |
2015-12-18 | unnoccupied->unoccupied | Stuart Henderson | |
2015-12-18 | Fix wrong answer if the imaginary part is zero. | Alexandr Shadchin | |
NetBSD also turn off this piece of code. ok tb@ | |||
2015-12-18 | Fix behavior csqrt, should be | Alexandr Shadchin | |
csqrt(conj(z)) == conj(csqrt(z)) Before csqrt(-4.0 + -0.0i) = 0.0 + 2.0j but should be csqrt(-4.0 + -0.0i) = 0.0 - 2.0j ok tb@, also discussed with daniel@ | |||
2015-12-18 | Convert arc4random() to arc4random_uniorm(). Diff by Matthew Martin. | tb | |
Ensure that arc4random_uniform() doesn't loop by redefining ND6_MAX_DESYNC_FACTOR to be 512, the largest power of two smaller than the RFC-specified 600 seconds. Suggested by florian@ and deraadt@ ok florian@, sthen@ in this form, arc4random change ok djm@, tedu@ | |||
2015-12-18 | Simplify return call of rand() and rand_r() to make it easier to read. | tb | |
This is slightly less robust, but RAND_MAX must be one below a power of two in both variants anyway. Based on a suggestion by Matthew Martin. ok tedu@ | |||
2015-12-18 | Drop the now useless multicast setup comment. | Antoine Jacoutot | |
prodded by tim@, ok mpi@ | |||
2015-12-18 | Prevent uvm_fault() when hitting a breakpoint by restoring the original | Gerhard Roth | |
page protection bits. Go ahead, mlarkin@ | |||
2015-12-18 | Fix out of bounds array access in ieee80211_setbasicrates(). | Stefan Sperling | |
found by + ok jsg@ | |||
2015-12-18 | Remove an error-on-NULL condition after a mallocarray() call that cannot | mmcc | |
fail. This codepath doesn't exist upstream, so it's fine to change. ok jsg@ | |||
2015-12-17 | Simplify multicast option handling (10 less lines) by matching /etc/rc behavior | Antoine Jacoutot | |
towards other YES|NO options and drop the error warning. with and ok tim@, ok rpe@ on an earlier diff | |||
2015-12-17 | As well as setting up the state, actually use it in cmd_find_target. | Nicholas Marriott | |
2015-12-17 | Make the cost of moving a process to the primary cpu a bit higher. This is | Mark Kettenis | |
the CPU that handles most hardware interrupts but we don't account for that in any way in the scheduler. So processes (and kernel threads) that are unlucky enough to end up on this CPU will get less CPU cycles than those running on other CPUs. This is especially true for the softnet taskq. There network interrupts will prevent the softnet taskq from running. This means that the more packets we receive, the less packets we can actually process and/or forward. This is why "unlocking" network drivers actually decreases the forwarding performance. This diff restores most of the lost performance by making it less likely that the softnet taskq ends up on the same CPU that handles network interrupts. Tested by Hrvoje Popovski ok mpi@, deraadt@ | |||
2015-12-17 | sprinkling ifndef __linux__ around two variable declarations could not | Ted Unangst | |
possibly make this driver portable | |||
2015-12-17 | Add missing colon after "Peer name" in verbose output. Mentioned on the | mmcc | |
lists recently. | |||
2015-12-17 | s/expresion/expression/g | mmcc | |
2015-12-17 | s/failes/failed/g | mmcc | |
2015-12-17 | add return code to newrequest to distinguish between cache hit and error. | Ted Unangst | |
we want to keep looping for more requests after a hit, not stop. (though i'm reconsidering if the looping is worthwhile. maybe should just return to kevent() after each request.) | |||
2015-12-17 | add a size to free. from Mathieu | Ted Unangst | |
2015-12-17 | arrays decay to pointers without needing & | Ted Unangst | |
2015-12-17 | no need to check null before free | Ted Unangst | |
2015-12-17 | add ktrace to kevent. ok guenther | Ted Unangst | |
2015-12-17 | add size to free. from Mathieu | Ted Unangst | |
2015-12-17 | rm a bit more trailers code. no longer accept them as alias for ethernet. | Ted Unangst | |
ok mpi | |||
2015-12-17 | If CORB/RIRB are not running, log error message unconditonnaly | Alexandre Ratchov | |
and return error. From Alexey Suslikov <alexey.suslikov at gmail.com> | |||
2015-12-17 | regen NSD's autoconf script, forgotten with the update - noticed by Brad | Stuart Henderson | |
2015-12-17 | Add display brightness support. This is available on the last few generations | Mark Kettenis | |
of Thinkpads (x220 and later) and using means the brightness level is coordinated properly with the firmware. This gets rid of the surprising brightness changes that would sometimes happen if you used the brightness keys or if the firmware decided to reset the brightness level for some other reason. ok tedu@, jung@, naddy@ | |||
2015-12-17 | Implement a memory barrier for mips. Basically this makes __sync_synchronize() | Mark Kettenis | |
emit a "sync" instruction. ok visa@ | |||
2015-12-17 | Missing include, spotted by benoit@ | Martin Pieuchot | |
2015-12-17 | Move vcpu register state init to vmd. Allows vmd bootloader to make the | Mike Larkin | |
decision as to how the vcpu should be set up for initial start and reset. Also removes some hardcoded register constants from vmm(4). ok jsing@, mpi@ | |||
2015-12-17 | Use config_mountroot(9) instead of startuphook_establish(9). | Martin Pieuchot | |
Fix a regression reported by Ian Mcwilliam on tech@ | |||
2015-12-17 | Replace 'arc4random() % (2^k - 1)' by 'arc4random() & (2^k - 1)' to | tb | |
avoid modulo bias. Part of a diff by Matthew Martin, reviewed by deraadt@ and me. ok deraadt@ |