summaryrefslogtreecommitdiff
path: root/sys/kern/sys_pipe.c
AgeCommit message (Expand)Author
2023-05-09Don't return EPIPE from pipe kqfilterVisa Hankala
2023-02-12Rename pipeselwakeup() to pipe_wakeup(). It doesn't call selwakeup()Vitaliy Makkoveev
2023-02-10Adjust knote(9) APIVisa Hankala
2022-12-05zap a pile of dangling tabsTheo de Raadt
2022-08-14remove unneeded includes in sys/kernJonathan Gray
2022-07-09Unwrap klist from struct selinfo as this code no longer uses selwakeup().Visa Hankala
2022-06-20Remove unused struct fileops field fo_poll and callbacks.Visa Hankala
2022-05-30Replace selwakeup() with KNOTE() in pipe event activation.Visa Hankala
2022-05-09Revert "Replace selwakeup() with KNOTE() in pipe and socket event activation."Visa Hankala
2022-05-06Replace selwakeup() with KNOTE() in pipe and socket event activation.Visa Hankala
2022-02-13Use knote_modify() and knote_process() in obvious places.Visa Hankala
2022-02-13Rename knote_modify() to knote_assign()Visa Hankala
2022-02-12Reduce code duplication in pipe event filtersVisa Hankala
2021-12-13Revise EVFILT_EXCEPT filtersVisa Hankala
2021-12-13Prevent kevent(2) use of EVFILT_EXCEPT with FIFOs and pipesVisa Hankala
2021-12-08Fix select(2) exceptfds handling of FIFOs and pipesVisa Hankala
2021-12-07Add EVFILT_EXCEPT filter for pipesVisa Hankala
2021-10-24Make pipe event filters MP-safeVisa Hankala
2021-10-22Revert "Preserve select(2) semantics when the other end of the pipe is gone".Martin Pieuchot
2021-10-22Preserve pipe select(2) semantics when the other end of the pipe is gone.Anton Lindqvist
2020-12-30Set klist lock for pipes.Visa Hankala
2020-12-25Refactor klist insertion and removalVisa Hankala
2020-12-11Simplify filt_pipedetach()Visa Hankala
2020-06-29Bring back revision 1.122 with a fix preventing a use-after-free byanton
2020-06-19backout pipe change, it crashes some archTheo de Raadt
2020-06-17Instead of performing three distinct allocations per created pipe,anton
2020-06-15Set __EV_HUP when the conditions matching poll(2)'s POLLUP are found.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-02-16Unconditionally acquiring a write lock in pipe_ioctl() is quiteanton
2020-02-14Push the KERNEL_LOCK() insidge pgsigio() and selwakeup().Martin Pieuchot
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-01-12condense commentanton
2020-01-12Get rid of redundant parenthesis.anton
2020-01-09Replace the global pipe_lock with a more fine-grained lock per pipeanton
2020-01-08Unify handling of ioctls FIOSETOWN/SIOCSPGRP/TIOCSPGRP andVisa Hankala
2020-01-05Constify instances of struct fileops.Visa Hankala
2020-01-04Eliminate some minor differences between pipe_read() and pipe_write():anton
2020-01-03Rename the pipe I/O lock routines for improved clarity. This is just aanton
2019-12-31Use C99 designated initializers with struct filterops. In addition,Visa Hankala
2019-12-27Remove the kernel lock in pipe read and write routines since everythinganton
2019-12-25Condense a few multi line comments into single line ones. While hereanton
2019-12-25Protect remaining fields of `struct pipe' using the pipe_lock. In orderanton
2019-12-19Start protecting the pipe_peer member of `struct pipe' using theanton
2019-11-29add missing parens around return expression and zap empty lineanton
2019-11-29Start protecting the pipe_busy field of struct pipe using a globalanton
2019-11-19When waiting on pipe I/O, simplify the unlock/relock logic usinganton
2019-11-11Extended the scope of the pipelock() in pipe_write() making the lockinganton
2019-11-10Invert a conditional in pipe_write() for reduced indent and inanton