summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-12-28build most of usr.sbin with -Werror-implicit-function-declarationSebastian Benoit
ok florian@
2015-12-28update the us army democracy excerpt to more closelyJason McIntyre
match the format of the original; from andre smagin
2015-12-28andy finkel confimed himself as the originator of the rigged demo quote;Jason McIntyre
from netbsd pr 49451
2015-12-28Rework re_start and re_txeof to only check the producer/consumer ringJonathan Matthew
positions when deciding how much work to do, and to adjust rl_tx_free with atomic operations; split the flag that indicates whether we're using timer based interrupts or not out into a separate field so it can be changed from interrupt context without needing a lock; take the kernel lock when calling re_init and re_start from interrupt context; add an interrupt barrier in re_stop; and finally mark the interrupt handler as mpsafe. started by Jim Smith a while ago, mostly finished up at n2k15 tested by dlg@, chris@ and Dimitris Papastamos on various hardware ok dlg@
2015-12-28use ulmin when looking at uio_resid to prevent wrapping around.Ted Unangst
from Martin Natano (and also reported by Stefan Kempf)
2015-12-27set sensor type later on initJoerg Jung
2015-12-27fold for loops back into a wait function in a similar manner as acpiec doesJoerg Jung
2015-12-27Use 'standard' gpt_chk_mbr() to check for protective MBR.Kenneth R Westerback
2015-12-27rename kbdled to backlight and mention chip model in commentJoerg Jung
2015-12-27extra taskq is gone, so also remove the no longer needed init variableJoerg Jung
2015-12-27simplify and unify keyboard backlight hooks, doing the same kassert instead ofJoerg Jung
for-loop as acpithinkpad does
2015-12-27with Mark's fix in previous commit the extra taskq for delayed initializationJoerg Jung
and updates is no longer needed and can be removed, so simplify things and initialize the sensors on attach and update them through the sensors task
2015-12-27Remove stray '}'.Robert Peichaer
2015-12-27Tweak comment: we now always make a copy of argv.Jeremie Courreges-Anglas
ok halex@
2015-12-27Refactor and move disk initialization code from install.sh to a separateRobert Peichaer
function configure_disk() in install.sub. based on work from and OK halex@
2015-12-27Put macro arg in parentheses.mmcc
ok nicm@
2015-12-27Add missing #include "audio.h". Fixes sndiod pledge issue reported bytb
timo.myyra () wickedbsd ! net, thanks! While there, remove extraneous "pty.h". ok deraadt@
2015-12-27welcome GENERIC.IP27 MP (dual cpu on O350 now)Theo de Raadt
ok visa
2015-12-27unconditionally duplicate the argv array on initialization, to make itAlexander Hall
resilient against being altered by a subsequent shift operation tweak and ok semarie@
2015-12-27If available prefer the rdseed instruction over rdrand when adding entropyJonathan Gray
to the kernel rng. If the rdseed source is empty fallback to rdrand as suggested by naddy. rdrand output comes from a prng that is periodically reseeded. rdseed should give us more bits of entropy. ok naddy@ djm@ deraadt@
2015-12-27wrap "audio" pledge code in NAUDIO > 0, because there are a fewTheo de Raadt
GENERIC kernels which lack audio drivers.
2015-12-27add missing header needed for pledge(2)Charles Longeau
ok deraadt@
2015-12-27remove unused variablesCharles Longeau
ok mmcc@
2015-12-27remove unused variableCharles Longeau
ok tedu@
2015-12-27remove unused variableCharles Longeau
ok tb@
2015-12-26Add support for the Perle Speed8 LE.Mark Kettenis
2015-12-26regenMark Kettenis
2015-12-26Add Perle Speed8 LE.Mark Kettenis
2015-12-26bzero -> memset. No binary change.mmcc
ok tb@
2015-12-26Use pread/pwrite instead separate lseek+read/write for lastlog.Philip Guenther
Cast to off_t before multiplication to avoid truncation on ILP32 ok kettenis@ mmcc@
2015-12-26remove special characters; diff from michael reedJason McIntyre
2015-12-26Set the times, mode, and flags on symlinks when doing cp -p (or mv acrossPhilip Guenther
filesystems) problem noted by Carsten Kunze (carsten.kunze (at) arcor.de)
2015-12-26Fix branch delay slots. Found while making test builds of ports.Visa Hankala
2015-12-26Replace handrolled xfree() function by directly using free(3)mestre
OK mmcc@
2015-12-26Remove blank line for consistency with other rc.d scripts; no change inAntoine Jacoutot
behavior.
2015-12-26adjust pledge promises for ControlMaster: when using "ask" or "autoask", the ↵Sebastien Marie
process will use ssh-askpass for asking confirmation. problem found by halex@ ok halex@
2015-12-26mountd(8) changes require a pexp.Kenneth R Westerback
ok deraadt@
2015-12-26Set as __dead a few more functions, that don't return, on games/mestre
With precious tip, help and also OK from tb@
2015-12-25- use strtonum(3) instead of atoi(3)Gleydson Soares
- while here switch main() to return instead of exit(3), makes stack protector happy. OK tb@
2015-12-25add rcsidGleydson Soares
2015-12-25Declare usage() functions as __dead void, if they don't return, on games ↵mestre
section. Found another one in arithmetic(6) which also didn't return, and removed a function from number(6) which is not used anymore. OK tb@
2015-12-25follwing -> followingAnthony J. Bentley
2015-12-25initialiases -> initialisesAnthony J. Bentley
2015-12-25Generate simpler in-page links: just replace spaces with underscores.Anthony J. Bentley
So http://example.com/OpenBSD-current/man1/ls.1#x546865204c6f6e6720466f726d6174 becomes http://example.com/OpenBSD-current/man1/ls.1#The_Long_Format ok schwarze@
2015-12-25enable iso keyboard munge fix for macbookair6,2Joerg Jung
ok jcs
2015-12-25Don't retain the search query in the resulting manual links.Anthony J. Bentley
Clean, simple URLs are best. ok schwarze@
2015-12-25Simplify allocation logic based on free and realloc's behavior on NULL.mmcc
ok tedu@
2015-12-25Don't set (unused) IPV6_V6ONLY option.Alexandre Ratchov
suggested by deraadt
2015-12-25revert change to call kevent immediately.Ted Unangst
tcpbench (at a minimum) relies on the old behavior of changes all happening after all event handlers run. in particular, it resets the event for the listening socket *before* calling accept(), when it is still readable. kevent then (correctly) says it is readable on the next go through the loop. silly, subtle, and stupid. problem reported by kettenis
2015-12-25inline a once-used function that just prints a warningmmcc
ok benno@