summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Expand)Author
2022-08-15Introduce 'pr_usrreqs' structure and move existing user-protocolVitaliy Makkoveev
2022-08-15Stop doing lockless `t_flags' check within task_add(9) and task_del(9).Vitaliy Makkoveev
2022-08-14remove unneeded includes in sys/kernJonathan Gray
2022-08-13Introduce the pru_*() wrappers for corresponding (*pr_usrreq)() calls.Vitaliy Makkoveev
2022-08-13blist: fix a possible blist corruption with blist_alloc() due to unsignedSebastien Marie
2022-08-12Revert to pre-r1.249 more laissez-faire checks for valid MBRKenneth R Westerback
2022-08-12Put more struct vnode fields under splbio().Visa Hankala
2022-08-12amd64: simplify TSC synchronization testingScott Soule Cheloha
2022-08-12Coverity says multiplying two uint32_t's and assigning them toKenneth R Westerback
2022-08-11Don't trust gpt header data read from disk until after itsKenneth R Westerback
2022-08-11Add TCP_INFO support to getsockopt for tcp sessions.Claudio Jeker
2022-08-08Before ypconnect(2) addition, "getpw" was a horrible "hole" that triggeredTheo de Raadt
2022-08-06Refactor readdoslabel() into a more readable form using variousKenneth R Westerback
2022-08-06blist: use swblk_t type (defined in sys/blist.h)Sebastien Marie
2022-08-02some ports bootstraps, and go internals, need a bit more time to adaptTheo de Raadt
2022-08-01syncTheo de Raadt
2022-08-01some ports bootstraps, and go internals, need a bit more time to adaptTheo de Raadt
2022-07-29Replace the swap extent(9) usage by a blist data structure.Sebastien Marie
2022-07-26Only allow changing the domainname (from empty) before securelevel increase.Theo de Raadt
2022-07-25Replace selwakeup() with KNOTE() in socket event activationVisa Hankala
2022-07-23timecounting: use full 96-bit product when computing elapsed timeScott Soule Cheloha
2022-07-23kernel: remove global "randompid" toggleScott Soule Cheloha
2022-07-20the _pad_ system calls from 2021/12/23 can go awayTheo de Raadt
2022-07-20syncTheo de Raadt
2022-07-20the _pad_ system calls from 2021/12/23 can go awayTheo de Raadt
2022-07-18Restrict pledge("vminfo") callers to read-only swapctl(2) operations.Jeremie Courreges-Anglas
2022-07-18Delete the YPACTIVE toggling code when "getpw" code access/open are done toTheo de Raadt
2022-07-18the domainname is under root control, but because we are producing a pathTheo de Raadt
2022-07-18For opening up the bindings file in ypconnect(2), bail out earlyTheo de Raadt
2022-07-17backout last step: the path checks are too strong until everyone has aTheo de Raadt
2022-07-17the PLEDGE_YPACTIVE "hack" bit related to "getpw" pledge goes away. libcTheo de Raadt
2022-07-15Allow ypconnect() in "getpw"Theo de Raadt
2022-07-15syncTheo de Raadt
2022-07-15pledge "getpw" would notice access to /var/run/ypbind.lock, and grant "inet"Theo de Raadt
2022-07-10Remove trailing whitespace. No code change.Mike Larkin
2022-07-09Unwrap klist from struct selinfo as this code no longer uses selwakeup().Visa Hankala
2022-07-05Remove old poll/select wakeup mechanism.Visa Hankala
2022-07-02Unlock peer in the SOCK_STREAM and SOCK_SEQPACKET error path.Vitaliy Makkoveev
2022-07-02Remove unused device poll functions.Visa Hankala
2022-07-01Make fine grained unix(4) domain sockets locking. Use the per-socketVitaliy Makkoveev
2022-06-30Allow sysctl mib CTL_NET.PF_INET6 with a length of 3 in PLEDGE_VMINFO.Claudio Jeker
2022-06-29Regen syscalls files as they were meant to be, correcting the "created from:"...Jeremie Courreges-Anglas
2022-06-29Unlock the pledge(2) system callJeremie Courreges-Anglas
2022-06-29Use READ_ONCE() when saving pr->ps_pledge to a local variableJeremie Courreges-Anglas
2022-06-29Move the deep check back into the loop. There are ways that even thoughClaudio Jeker
2022-06-28Cleanup the sleep loop in single_thread_check_locked(). The deep checksClaudio Jeker
2022-06-28Use btrace(8) to debug reference counting. dt(4) provides a staticAlexander Bluhm
2022-06-27kbind(2): unlock syscall, push kernel lock down to binding loopScott Soule Cheloha
2022-06-27kqueue: Clear task when closing kqueueVisa Hankala
2022-06-26allow HW_USERMEM64 in sysctl pledgeJonathan Gray