summaryrefslogtreecommitdiffstats
path: root/sys/kern/sys_pipe.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* Set klist lock for pipes.visa2020-12-301-5/+15
* Refactor klist insertion and removalvisa2020-12-251-4/+4
* Simplify filt_pipedetach()visa2020-12-111-18/+7
* Bring back revision 1.122 with a fix preventing a use-after-free byanton2020-06-291-52/+55
* backout pipe change, it crashes some archderaadt2020-06-191-53/+51
* Instead of performing three distinct allocations per created pipe,anton2020-06-171-51/+53
* Set __EV_HUP when the conditions matching poll(2)'s POLLUP are found.mpi2020-06-151-1/+5
* Abstract the head of knote lists. This allows extending the lists,visa2020-04-071-5/+5
* Replace field f_isfd with field f_flags in struct filterops to allowvisa2020-02-201-3/+3
* Unconditionally acquiring a write lock in pipe_ioctl() is quiteanton2020-02-161-5/+5
* Push the KERNEL_LOCK() insidge pgsigio() and selwakeup().mpi2020-02-141-8/+5
* Back out previous. Nothing wrong with the diff per se but I should haveanton2020-02-011-3/+6
* Grab the kernel lock in pgsigio() as it's strictly needed whileanton2020-02-011-6/+3
* condense commentanton2020-01-121-5/+2
* Get rid of redundant parenthesis.anton2020-01-121-11/+11
* Replace the global pipe_lock with a more fine-grained lock per pipeanton2020-01-091-60/+83
* Unify handling of ioctls FIOSETOWN/SIOCSPGRP/TIOCSPGRP andvisa2020-01-081-8/+6
* Constify instances of struct fileops.visa2020-01-051-2/+2
* Eliminate some minor differences between pipe_read() and pipe_write():anton2020-01-041-6/+4
* Rename the pipe I/O lock routines for improved clarity. This is just aanton2020-01-031-18/+18
* Use C99 designated initializers with struct filterops. In addition,visa2019-12-311-5/+14
* Remove the kernel lock in pipe read and write routines since everythinganton2019-12-271-12/+7
* Condense a few multi line comments into single line ones. While hereanton2019-12-251-40/+13
* Protect remaining fields of `struct pipe' using the pipe_lock. In orderanton2019-12-251-33/+53
* Start protecting the pipe_peer member of `struct pipe' using theanton2019-12-191-26/+79
* add missing parens around return expression and zap empty lineanton2019-11-291-3/+2
* Start protecting the pipe_busy field of struct pipe using a globalanton2019-11-291-24/+54
* When waiting on pipe I/O, simplify the unlock/relock logic usinganton2019-11-191-20/+36
* Extended the scope of the pipelock() in pipe_write() making the lockinganton2019-11-111-46/+29
* Invert a conditional in pipe_write() for reduced indent and inanton2019-11-101-64/+66
* Replace the hand-rolled pipe lock with a rwlock. A necessary first stepanton2019-11-091-15/+5
* move the whole `struct pipe' allocation and initialization inside pipe_create()semarie2019-07-161-48/+52
* revisit pipe initialization and buffer managementsemarie2019-07-151-35/+42
* Do not relock fdp in fdrelease(). This prevents unnecessary lockingvisa2019-07-151-7/+10
* rename PIPE_WANT to PIPE_WANTD.semarie2019-07-141-9/+9
* pipe_write() do opportunistic buffer resizing, when the buffer is empty.semarie2019-07-131-2/+3
* backout the unlock of pipe(2) and pipe2(2)semarie2019-07-091-13/+4
* unlock pipe(2) and pipe2(2) syscallssemarie2019-07-091-4/+13
* push the KERNEL_LOCK deeper on read(2) and write(2)semarie2019-06-221-4/+13
* Fix fcntl(fd, F_GETOWN) with pipes. As a regressionvisa2018-11-131-2/+2
* Utilize sigio with pipes. This makes fcntl(fd, F_SETOWN, arg) correctlyvisa2018-11-121-8/+8
* Reorder checks in the read/write(2) family of syscalls to prepare makingmpi2018-08-201-5/+5
* Grab the KERNEL_LOCK() in MP-unsafe fo_close routines. This preventsvisa2018-08-151-1/+3
* Make it possible to run pipe(2) and pipe2(2) mostly w/o KERNEL_LOCK():mpi2018-08-131-16/+23
* Move socket & pipe specific logic in their ioctl handler.mpi2018-07-101-1/+7
* Put file descriptors on shared data structures when they are completelympi2018-06-181-5/+8
* Revert introduction of fdinsert(), a sanitify check triggers whenmpi2018-06-051-8/+5
* Put file descriptors on shared data structures when they are completelympi2018-06-021-5/+8
* Convert 'struct fileops' definitions to C99.mpi2018-04-101-3/+8
* Stop assuming <sys/file.h> will pull in fcntl.h when _KERNEL is defined.guenther2018-01-021-1/+2