summaryrefslogtreecommitdiff
path: root/sys/kern/sys_pipe.c
AgeCommit message (Expand)Author
2018-11-13Fix fcntl(fd, F_GETOWN) with pipes. As a regressionVisa Hankala
2018-11-12Utilize sigio with pipes. This makes fcntl(fd, F_SETOWN, arg) correctlyVisa Hankala
2018-08-20Reorder checks in the read/write(2) family of syscalls to prepare makingMartin Pieuchot
2018-08-15Grab the KERNEL_LOCK() in MP-unsafe fo_close routines. This preventsVisa Hankala
2018-08-13Make it possible to run pipe(2) and pipe2(2) mostly w/o KERNEL_LOCK():Martin Pieuchot
2018-07-10Move socket & pipe specific logic in their ioctl handler.Martin Pieuchot
2018-06-18Put file descriptors on shared data structures when they are completelyMartin Pieuchot
2018-06-05Revert introduction of fdinsert(), a sanitify check triggers whenMartin Pieuchot
2018-06-02Put file descriptors on shared data structures when they are completelyMartin Pieuchot
2018-04-10Convert 'struct fileops' definitions to C99.Martin Pieuchot
2018-01-02Stop assuming <sys/file.h> will pull in fcntl.h when _KERNEL is defined.Philip Guenther
2017-02-11Add a flags argument to falloc() that lets it optionally set thePhilip Guenther
2016-10-08Add ktracing of the fds returned by pipe() and socketpair()Philip Guenther
2016-09-15all pools have their ipl set via pool_setipl, so fold it into pool_init.David Gwynne
2016-08-30pool_setiplDavid Gwynne
2016-01-15Convert to uiomove(); from Martin NatanoStefan Kempf
2016-01-06remove unnecessary casts where the incoming type is void *.Ted Unangst
2015-12-05remove stale lint annotationsTed Unangst
2015-02-10First step towards making uiomove() take a size_t size argument:Miod Vallat
2014-12-19start retiring the nointr allocator. specify PR_WAITOK as a flag as aTed Unangst
2014-09-28Replace uvm_km_alloc(9) and uvm_km_free(9) with the equivalent km_alooc(9)Mark Kettenis
2014-08-31Add additional kernel interfaces for setting close-on-exec on fdsPhilip Guenther
2014-01-24Copy timespecs member by member in fo_stat callback functions, to avoidPhilip Guenther
2014-01-21bzero -> memsetTed Unangst
2012-05-06take a file descriptor table lock after allocating pipe structuresMike Belopuhov
2012-04-22Add struct proc * argument to FRELE() and FILE_SET_MATURE() inPhilip Guenthe
2011-07-08keep the fdplock around copyout in pipe. ok matthewTed Unangst
2011-07-08Remove the sys_opipe() kernel entry point. sys_pipe() is the future.Matthew Dempsky
2011-05-27Fix the return values from pipe_kqfilter - kqfilters should return anNicholas Marriott
2010-01-14fix typos in comments, no code changes;Ingo Schwarze
2009-11-09Every selwakeup() should have a matching KNOTE() (even if kqueue isn'tNicholas Marriott
2009-10-30pipeclose() calls pileseltimeout() which does the KNOTE(); therefore callingTheo de Raadt
2009-01-29Switch struct stat's timespec members to the names standardized inPhilip Guenthe
2008-07-11de-__inline a trio of functions to shave some space.Bret Lambert
2007-11-28When updating the timestamps on pipes, use getnanotime() instead of moreMiod Vallat
2007-08-07Correctly deal with EOF on pipe wrt kqueue. Based on a fix presentTodd C. Miller
2006-11-17missing punctuation in comments; from bret lambertJason McIntyre
2005-12-13ansi/deregister. No binary change.Jonathan Gray
2004-07-22remove p arg from fdplockTed Unangst
2004-07-21In pipe_read, when the pipelock fails (most likely because we catch aArtur Grabowski
2004-06-24This moves access to wall and uptime variables in MI code,Thorsten Lockert
2004-01-06lock filedesc before manipulating. avoids some rare races.Ted Unangst
2003-10-03Bring several fixes from FreeBSD to our current pipe implementation:Miod Vallat
2003-09-23Replace select backends with poll backends. selscan() and pollscan()Todd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2002-02-08- Rename FILE_{,UN}USE to FREF and FRELE. USE is a bad verb and we don't haveArtur Grabowski
2002-01-23Pool deals fairly well with physical memory shortage, but it doesn't dealArtur Grabowski
2001-11-06Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.Miod Vallat
2001-10-26 - every new fd created by falloc() is marked as larval and should not be usedArtur Grabowski
2001-09-19merge vm/vm_kern.h into uvm/uvm_extern.h; art@ okMichael Shalayeff