summaryrefslogtreecommitdiff
path: root/sys/kern/sys_pipe.c
AgeCommit message (Expand)Author
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
2001-07-05Get rid of unnecessary includes.Artur Grabowski
2001-06-27remove old vmArtur Grabowski
2001-06-23pool_init, not pool_createArtur Grabowski
2001-06-23pipe_stat isn't referenced from outside sys_pipe.c anymoreArtur Grabowski
2001-06-23Add pipe_init, call it from main, move the pool initialization into it.Artur Grabowski
2001-06-05fix kqueue EVFILT_WRITE; okay art@Niels Provos
2001-05-26Sync in some improvements from FreeBSD + my own improvements.Artur Grabowski
2001-05-14gc OLD_PIPE.Artur Grabowski
2001-05-14Add a fo_stat member to struct fileops. Used soon.Artur Grabowski
2001-05-14More generic arguments to pipe_stat.Artur Grabowski
2001-05-14We already have a prototype for pipe_stat in sys/pipe.hArtur Grabowski
2001-03-01port kqueue changes from freebsd, plus all required openbsd glue.Niels Provos
2000-11-16support kernel event queues, from FreeBSD by Jonathan Lemon,Niels Provos
2000-04-19Change struct file interface methods read and write to pass file offset inConstantine Sapuntzakis
2000-01-27No need to include sys/vmmeter.hArtur Grabowski
1999-11-25Annoying unnecessary space.Artur Grabowski
1999-11-21if select returns writable on a pipe, the write should not returnTheo de Raadt
1999-10-29Use M_PIPE instead of M_TEMP.Artur Grabowski
1999-10-29Remove the "Direct write" code.Artur Grabowski
1999-10-27Actually make ASYNC pipes generate SIGIO.Niklas Hallqvist
1999-07-15vm_offset_t -> {v,p}addr_t ; vm_size_t -> {v,p}size_tArtur Grabowski
1999-07-13introduce fdremove() to mark a file descriptor as unused. fdremove makesNiels Provos
1999-06-08better fd leak preventionTheo de Raadt
1999-06-07need seperate sys_pipe() versions, for pipeclose() or soclose() callsTheo de Raadt