summaryrefslogtreecommitdiff
path: root/sys/kern/sys_generic.c
AgeCommit message (Expand)Author
2024-04-10Unlock dosigsuspend() and with that some aspects of ppoll and pselectClaudio Jeker
2023-05-09Don't return EPIPE from pipe kqfilterVisa Hankala
2023-02-25Unlock select(2), pselect(2), poll(2) and ppoll(2).Vitaliy Makkoveev
2023-02-14Backout previous. Assertion was triggered within tsleep().Vitaliy Makkoveev
2023-02-13Push kernel lock down to dopselect() and doppoll() and unlock select(2),Vitaliy Makkoveev
2023-02-10Adjust knote(9) APIVisa Hankala
2022-12-27Fix array bounds mismatch with clang 15Patrick Wildt
2022-08-16Remove kqueue-related ktrace points from poll(2) and select(2)Visa Hankala
2022-08-14remove unneeded includes in sys/kernJonathan Gray
2022-07-05Remove old poll/select wakeup mechanism.Visa Hankala
2022-02-08poll(2): Switch to kqueue backendVisa Hankala
2021-12-11Clarify usage of __EV_POLL and __EV_SELECTVisa Hankala
2021-12-08Fix select(2) exceptfds handling of FIFOs and pipesVisa Hankala
2021-11-30Prevent select(2) from blocking if registering found pending events.Visa Hankala
2021-11-22Revert poll(2) back to the original implementationVisa Hankala
2021-11-22Translate POLLNVAL in ppollcollect()Visa Hankala
2021-11-16Use nowake when poll/select has empty fd setVisa Hankala
2021-11-12Keep knotes between poll/select systems callsVisa Hankala
2021-10-29poll needs similar treatment as select recently gained in order to notAnton Lindqvist
2021-10-24Implement poll(2), select(2), ppoll(2) & pselect(2) on top of kqueue.Martin Pieuchot
2021-10-15Revert "Implement select(2) and pselect(2) on top of kqueue."Martin Pieuchot
2021-10-14Implement select(2) and pselect(2) on top of kqueue.Martin Pieuchot
2021-01-08Revert "Implement select(2) and pselect(2) on top of kqueue."Visa Hankala
2020-12-26Simplify parameters of pselregister().Visa Hankala
2020-12-22Implement select(2) and pselect(2) on top of kqueue.Martin Pieuchot
2020-10-02expose timeval/timespec from system calls into ktrace, before determiningTheo de Raadt
2020-03-20poll(2), ppoll(2), pselect(2), select(2): tsleep(9) -> tsleep_nsec(9)cheloha
2020-02-14Push the KERNEL_LOCK() insidge pgsigio() and selwakeup().Martin Pieuchot
2020-02-01Make writes to the f_flag field of `struct file' MP-safe using atomicanton
2020-01-16Introduce wakeup_proc() a function to un-SSTOP/SSLEEP a thread.Martin Pieuchot
2020-01-08Unify handling of ioctls FIOSETOWN/SIOCSPGRP/TIOCSPGRP andVisa Hankala
2019-10-03poll(2), ppoll(2), select(2), pselect(2): always set P_SELECT before tsleepcheloha
2019-06-22push the KERNEL_LOCK deeper on read(2) and write(2)Sebastien Marie
2019-06-21Make resource limit access MP-safe. So far, the copy-on-write sharingVisa Hankala
2019-01-21select(2), pselect(2), poll(2), ppoll(2): Support full timeout range.cheloha
2018-08-20Reorder checks in the read/write(2) family of syscalls to prepare makingMartin Pieuchot
2018-07-14Don't pass an uninitialised size value to free(9). Pointer argument isJonathan Gray
2018-07-10Move socket & pipe specific logic in their ioctl handler.Martin Pieuchot
2018-05-08Protect per-file counters and document which lock is used to protectMartin Pieuchot
2018-04-27Move FREF() inside fd_getfile().Martin Pieuchot
2018-04-09Call FREF() right after fd_getfile_mode() in sys_ioctl().Martin Pieuchot
2018-01-02Stop assuming <sys/file.h> will pull in fcntl.h when _KERNEL is defined.Philip Guenther
2017-06-26Assert that the corresponding socket is locked when manipulating socketMartin Pieuchot
2017-01-24Rename pfind(9) into tfind(9) to reflect that it deals with threads.Martin Pieuchot
2016-11-07Split PID from TID, giving processes a PID unrelated to the TID of theirPhilip Guenther
2016-07-05remove some casts that aren't necessary.Ted Unangst
2016-06-07ktrace support for pollfd[] arraysTheo de Raadt
2015-12-05remove stale lint annotationsTed Unangst
2015-11-01refactor pledge_*_check and pledge_fail functionsSebastien Marie
2015-10-18move SS_DNS socket check from kern_plegde.c to sys_generic.cSebastien Marie