summaryrefslogtreecommitdiff
path: root/sys/miscfs/fifofs
AgeCommit message (Expand)Author
2023-03-08Delete obsolete /* ARGSUSED */ lint comments.Philip Guenther
2023-01-27Replace selinfo structure by klist in sockbuf. No reason to keep it,Vitaliy Makkoveev
2023-01-22Move SS_CANTRCVMORE and SS_RCVATMARK bits from `so_state' to `sb_state' ofVitaliy Makkoveev
2023-01-21Introduce per-sockbuf `sb_state' to use it with SS_CANTSENDMORE.Vitaliy Makkoveev
2022-12-12Revert sb_state changes to unbreak tree.Theo Buehler
2022-12-11This time, socket's buffer lock requires solock() to be held. As a part ofVitaliy Makkoveev
2022-07-01Make fine grained unix(4) domain sockets locking. Use the per-socketVitaliy Makkoveev
2022-06-26Remove unused VOP_POLL().Visa Hankala
2022-06-06Simplify solock() and sounlock(). There is no reason to return a valueClaudio Jeker
2022-02-16Add missing FILTEROP_MPSAFE flag to fifoexcept_filtops.Visa Hankala
2022-02-16Reduce code duplication in FIFO event filters.Visa Hankala
2022-02-13Rename knote_modify() to knote_assign()Visa Hankala
2021-12-14Remember to clear __EV_HUP when the other end of the FIFO has re-opened.Visa Hankala
2021-12-13Revise EVFILT_EXCEPT filtersVisa Hankala
2021-12-13Prevent kevent(2) use of EVFILT_EXCEPT with FIFOs and pipesVisa 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-10-24Implement poll(2), select(2), ppoll(2) & pselect(2) on top of kqueue.Martin Pieuchot
2021-10-24Set klist lock for sockets to make socket event filters MP-safeVisa Hankala
2021-10-22Make EVFILT_EXCEPT handling separate from the read filter.Martin Pieuchot
2021-10-15vnode: remove vop_generic_{,is,un}lock stub functionsSebastien Marie
2021-10-02vfs: merge *_badop to vop_generic_badopSebastien Marie
2021-07-13Add f_modify and f_process callbacks to FIFO filterops.Visa Hankala
2021-01-17Replace SB_KNOTE and sb_flagsintr with direct checking of klist.Visa Hankala
2020-12-25Refactor klist insertion and removalVisa Hankala
2020-06-15Set __EV_HUP when the conditions matching poll(2)'s POLLUP are found.Martin Pieuchot
2020-04-08Make fifo_kqfilter() honor FREAD|FWRITE just like fifo_poll() does.Martin Pieuchot
2020-04-08Pass correct socket to the write kqueue filter.Martin Pieuchot
2020-04-07Abstract the head of knote lists. This allows extending the lists,Visa Hankala
2020-02-20Replace field f_isfd with field f_flags in struct filterops to allowVisa Hankala
2020-01-20struct vops is not modified during runtime so use const which moves eachClaudio Jeker
2020-01-08Convert infinite sleeps to tsleep_nsec(9).Martin Pieuchot
2019-12-31Use C99 designated initializers with struct filterops. In addition,Visa Hankala
2019-12-12Reintroduce socket locking inside socket event filters.Visa Hankala
2018-07-30Use FNONBLOCK instead of SS_NBIO to check/indicate that the I/O modeMartin Pieuchot
2018-06-06Pass the socket to sounlock(), this prepare the terrain for per-socketMartin Pieuchot
2018-05-02Remove proc from the parameters of vn_lock(). The parameter isVisa Hankala
2018-04-28Clean up the parameters of VOP_LOCK() and VOP_UNLOCK(). It is alwaysVisa Hankala
2018-04-08AF_LOCAL was a failed attempt (by POSIX?) to seem less UNIX-specific, butPhilip Guenther
2018-02-19Grab solock() inside soconnect2() instead of asserting for it to be held.Martin Pieuchot
2018-01-02Stop assuming <sys/file.h> will pull in fcntl.h when _KERNEL is defined.Philip Guenther
2017-12-18Revert grabbing the socket lock in kqueue(2) filters.Martin Pieuchot
2017-12-10Move SB_SPLICE, SB_WAIT and SB_SEL to `sb_flags', serialized by solock().Martin Pieuchot
2017-11-04Make it possible for multiple threads to enter kqueue_scan() in parallel.Martin Pieuchot
2017-07-24Extend the scope of the socket lock to protect `so_state' in connect(2).Martin Pieuchot
2017-07-08Revert grabbing the socket lock in kqueue filters.Martin Pieuchot
2017-07-03Protect `so_state', `so_snd' and `so_rcv' with the socket lock inMartin Pieuchot
2017-07-03Not all sockets require the NET_LOCK(). So use solock() instead inMartin Pieuchot
2017-06-26Assert that the corresponding socket is locked when manipulating socketMartin Pieuchot
2016-12-19Introduce the NET_LOCK() a rwlock used to serialize accesses to the partsMartin Pieuchot