summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Expand)Author
2020-03-04Grab a reference for the shared memory segment before calling uvm_map()anton
2020-03-02Fix use of WITNESS_UNLOCK() in rw_exit_read() and rw_exit_write().Visa Hankala
2020-03-02msleep() and rwsleep() allow to release the lock when going toAlexander Bluhm
2020-03-01Do not reparent a traced child to ourself inside wait(2).Martin Pieuchot
2020-02-28Revert previous, diff contains an obvious bug.Martin Pieuchot
2020-02-26Release the file descriptor table lock before calling closef()Visa Hankala
2020-02-25Start the SMR thread when all CPUs are ready for scheduling. ThisVisa Hankala
2020-02-25Keep function definitions in a single place.Martin Pieuchot
2020-02-22regenanton
2020-02-22Unlock ioctl(2).anton
2020-02-22In preparation for unlocking ioctl(2), grab the kernel lock as needed.anton
2020-02-21Remove sigacts structure sharing. The only process that used sharing wasClaudio Jeker
2020-02-21Adjust a comment, no functional changeClaudio Jeker
2020-02-20Replace field f_isfd with field f_flags in struct filterops to allowVisa Hankala
2020-02-20Relax the grip the dead hand of QBUS (a.k.a. MAXPHYS) has on theKenneth R Westerback
2020-02-19Remove the indirection via timeout for proc_stop_sweep(). Using a softClaudio Jeker
2020-02-18Cleanup <sys/kthread.h> and <sys/proc.h> includes.Martin Pieuchot
2020-02-18Move setting of UF_EXCLOSE file descriptor flag inside finishdup().Visa Hankala
2020-02-17Raise SPL when updating kn_status. Otherwise the field can becomeVisa Hankala
2020-02-16Rework vn_ioctl() to only have a single point of return. This will makeanton
2020-02-16Unconditionally acquiring a write lock in pipe_ioctl() is quiteanton
2020-02-15Consistently perform atomic writes to the ps_flags field of structanton
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