summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Expand)Author
2020-02-14Defer chained activation of kqueues. This makes easier to introduce newVisa Hankala
2020-02-14Push the KERNEL_LOCK() insidge pgsigio() and selwakeup().Martin Pieuchot
2020-02-14The v_inflight counter was added to mark vnodes that currently do an operationClaudio Jeker
2020-02-13Move the LK_DRAIN logic from VOP_LOCK() to vclean() the only caller ofClaudio Jeker
2020-02-12Do not reparent a traced child to ourself inside wait(2).Martin Pieuchot
2020-02-11the pledge_ioctl() rule checker is written in a style which could readTheo de Raadt
2020-02-09Zero struct knote on allocation. This makes the code less proneVisa Hankala
2020-02-08Replace ttkqflush() with klist_invalidate() to handle knote listVisa Hankala
2020-02-05Move kernel locking inside knote_fdclose() from finishdup() andVisa Hankala
2020-02-05Allow programs with the "audio" promise to use the AUDIO_MIXER_xxx ioctls.Alexandre Ratchov
2020-02-05Remove dead store, from Amit Kulkarni.Martin Pieuchot
2020-02-04allow reading of sysctl kern.somaxconn in "inet", due toTheo de Raadt
2020-02-01Back out previous. Nothing wrong with the diff per se but I should haveanton
2020-02-01Grab the kernel lock in pgsigio() as it's strictly needed whileanton
2020-02-01Make writes to the f_flag field of `struct file' MP-safe using atomicanton
2020-01-30Acquire fdplock when updating fd_cmask. This moves the codeVisa Hankala
2020-01-30regenVisa Hankala
2020-01-30Unlock close*(2) and dup*(2).Visa Hankala
2020-01-30Split `p_priority' into `p_runpri' and `p_slppri'.Martin Pieuchot
2020-01-26Use long for temporary variables handling b_bcount values in physio().Kenneth R Westerback
2020-01-26regenTed Unangst
2020-01-26add a new __tmpfd system call that creates a new unnamed file in /tmp.Ted Unangst
2020-01-26invert some if logic to shortcircuit some loops and reduce nesting.Ted Unangst
2020-01-25physio() just needs to check for b_bcount overflow. Let the providedKenneth R Westerback
2020-01-25The ELF NOTE parser would only inspect the first NOTE for 'OpenBSD'.Theo de Raadt
2020-01-24*sleep_nsec(9): log process name and pid when nsecs == 0cheloha
2020-01-24New `kern.allowdt' button must be set to open(2) /dev/dt.Martin Pieuchot
2020-01-24pool(9): replace custom TAILQ concatenation loops with TAILQ_CONCAT(3)cheloha
2020-01-23pool(9): pl_sleep(): drop unused timeout argumentcheloha
2020-01-23add /etc/protocols to the magic unveil whitelist that the dns pledge hasDavid Gwynne
2020-01-22add ml_hdatalen and mq_hdatalen as workalikes of ifq_hdatalen.David Gwynne
2020-01-22delete wasteful ;;Theo de Raadt
2020-01-21Import dt(4) a driver and framework for Dynamic Profiling.Martin Pieuchot
2020-01-21regenVisa Hankala
2020-01-21Make __thrsleep(2) and __thrwakeup(2) MP-safeVisa Hankala
2020-01-20struct vops is not modified during runtime so use const which moves eachClaudio Jeker
2020-01-20Separate the stack trace saving interface from ddb. The saving does notVisa Hankala
2020-01-18Make klist_invalidate() more careful and general. Acquire knotes beforeVisa Hankala
2020-01-18Clear mount operation argument flags from mnt_flag after mount.Visa Hankala
2020-01-16Introduce wakeup_proc() a function to un-SSTOP/SSLEEP a thread.Martin Pieuchot
2020-01-15Keep socket timeout intervals in nsecs and use them with tsleep_nsec(9).Martin Pieuchot
2020-01-14Introduce TIMESPEC_TO_NSEC() and use it to convert userland facingMartin Pieuchot
2020-01-13regenVisa Hankala
2020-01-13Unlock a tiny part of the kqueue subsystem: kqueue(2).Visa Hankala
2020-01-13Allocate kqueue instance outside fdplock to avoid sleeping withVisa Hankala
2020-01-13Raise ipl of the softclock thread to IPL_SOFTCLOCK.Martin Pieuchot
2020-01-12condense commentanton
2020-01-12Get rid of redundant parenthesis.anton
2020-01-12*sleep_nsec(9): sleep *at least* the given number of nanosecondscheloha
2020-01-11Convert infinite sleeps to tsleep_nsec(9).Martin Pieuchot