summaryrefslogtreecommitdiffstats
path: root/sys/sys/filedesc.h (follow)
Commit message (Expand)AuthorAgeFilesLines
* It's been agreed upon that global locks should be expressed usinganton2020-07-041-5/+5
* Update lock annotations of struct filedesc.visa2020-01-301-18/+20
* Make kqlist part of filedesc and serialize access to it using fdplock.visa2020-01-061-1/+9
* Fix a file descriptor close race in kqueue_register()visa2020-01-031-1/+2
* Update the file reference count field `f_count' using atomic operationsvisa2018-07-021-1/+4
* Introduce fnew(), a function to initialize a `struct file'.mpi2018-06-251-1/+2
* Put file descriptors on shared data structures when they are completelympi2018-06-181-2/+3
* Move kqueue related fields from struct filedesc to struct kqueue. Solves a panicanton2018-06-171-6/+1
* Revert introduction of fdinsert(), a sanitify check triggers whenmpi2018-06-051-3/+2
* Put file descriptors on shared data structures when they are completelympi2018-06-021-2/+3
* Introduce fd_iterfile() a new helper function to iterate over `filehead'.mpi2018-04-251-1/+2
* Add a flags argument to falloc() that lets it optionally set theguenther2017-02-111-2/+2
* Enable the NET_LOCK(), take 2.mpi2017-01-251-2/+2
* Track a per-fd flag UF_PLEDGED. This indicates the initial open was done by aderaadt2017-01-241-1/+2
* Avoid curproc dance in dupfdopen(), by passing a struct proc *deraadt2017-01-231-2/+2
* Pass a thread pointer instead of its file descriptor table to getsock(9).mpi2015-05-061-2/+2
* Indroduce fd_getfile_mode() and use it were fd_getfile() is directlympi2015-04-301-2/+3
* Move from struct proc to process the reference-count-holding pointersguenther2014-05-151-4/+4
* revert falloc change, as it causes all new processes to get stuck after a whileespie2014-04-121-3/+1
* split falloc into two functions, the allocation and the publication.tedu2014-03-081-1/+3
* Revert the blocked FIFO open fix, as there's either a race in theguenther2012-07-111-2/+2
* Don't hold the fd-table lock across vn_open(), as opening a FIFO may block.guenther2012-07-081-2/+2
* Remove the "vn_open() returning ENXIO means dup+close" hook thatguenther2012-05-141-3/+2
* New system call: getdtablecount(2) returns the number of filederaadt2012-04-121-1/+2
* Hold struct filedesc's fd_lock when writing to the fd_ofiles, fd_ofileflags,guenther2012-02-151-2/+5
* Fix a bunch of problems and races with posix file locking.art2008-09-191-1/+8
* remove p arg from fdplocktedu2004-07-221-3/+2
* I was wrong. The assymetry created by the proc argument to rw_enter_writeart2004-07-211-2/+3
* lock filedesc before manipulating. avoids some rare races.tedu2004-01-061-3/+6
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
* First round of __P removal in sysmillert2002-03-141-17/+17
* No more need for ffree. Since it's hard to use it safely, remove it.art2002-02-081-2/+1
* - every new fd created by falloc() is marked as larval and should not be usedart2001-10-261-2/+2
* - split fdalloc into two functions. fdalloc now returns ENOSPC if itart2001-10-261-1/+4
* gc UF_MAPPED.art2001-10-071-2/+1
* Use pool to allocate struct filedesc0 and struct file.art2001-05-161-1/+2
* support kernel event queues, from FreeBSD by Jonathan Lemon,provos2000-11-161-1/+6
* fix macros that calculated bitmap size for fdalloc. fries@ helped debugging.provos2000-04-241-3/+4
* Optimized fdalloc as in Banga and Mogul paper:provos2000-02-281-1/+14
* introduce fdremove() to mark a file descriptor as unused. fdremove makesprovos1999-07-131-1/+2
* partial sync with netbsd 960418, more to comederaadt1996-04-211-3/+3
* Merge of NetBSD 960317niklas1996-04-181-3/+2
* From NetBSD: 960217 mergeniklas1996-03-031-1/+9
* add fdshare() and fdinit() calls for dealing with filedesc structuresderaadt1996-01-071-0/+2
* initial import of NetBSD treederaadt1995-10-181-0/+103