summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_descrip.c
Commit message (Expand)AuthorAgeFilesLines
* Sweep kernel replacing suser(9) calls with priv(9) calls, assigningrwatson2006-11-061-1/+2
* return EBADF instead of successfully attaching (and then panicing) whenjmg2006-09-241-1/+1
* Add a comment to explain what fdclose() does and what it's purpose isjhb2006-07-211-0/+8
* Add a kern_close() so that the ABIs can close a file descriptor w/o havingjhb2006-07-081-2/+10
* Compress direct cr_ruid comparsion and jailed() call to suser_cred(9).pjd2006-06-271-2/+4
* Mark fgetsock() and fputsock() as depcrecated: callers should rely onrwatson2006-04-011-2/+8
* Restore fd optimization with a few minor tweaks, to quote tegge:csjp2006-03-201-2/+5
* Back out fd optimization introduced in revision 1.280 as it appears to becsjp2006-03-181-3/+1
* Add auditing of arguments to the close() and fstat() system calls. Much morewsalamon2006-02-051-0/+10
* Return EBADF rather than EINVAL for FWRITE failure as per POSIX.jhb2006-01-061-3/+2
* Last step to make mq_notify conform to POSIX standard, If the processdavidxu2005-11-301-1/+10
* Add the f_msgcount field to the set of struct file fields printed in showrwatson2005-11-101-4/+5
* Expanet of details printed for each file descriptor to include it'srwatson2005-11-101-5/+5
* Add a DDB "show files" command to list the current open file list, somerwatson2005-11-101-0/+73
* Fix typo in recent comment tweak.rwatson2005-11-091-1/+1
* In closef(), remove the assumption that there is a thread associatedrwatson2005-11-091-2/+6
* Push down Giant into fdfree() and remove it from two of the callers.jhb2005-11-011-10/+23
* Normalize a significant number of kernel malloc type names:rwatson2005-10-311-2/+2
* Use FILEDESC_UNLOCK(fdp) after FILE_UNLOCK(p), not before to avoid LOR.rik2005-10-041-1/+3
* Two minor optimizations of fdalloc():des2005-08-261-1/+3
* Fix fdcheckstd to pass the file descriptor along through vn_open. Whendd2005-06-251-1/+1
* - Use NAMEI to pickup Giant if we need it in fpcheckstd().jeff2005-05-031-4/+5
* Remove redundant initialization that is repeated in the for() loopkeramida2005-03-081-2/+0
* Typo & grammar fixes in comments.keramida2005-03-081-9/+9
* Make some file/filedesc related functions staticphk2005-02-101-2/+4
* - Tweak kern_msgctl() to return a copy of the requested message queue idjhb2005-02-071-19/+17
* Don't use VOP_GETVOBJECT, use vp->v_object directly.phk2005-01-251-2/+1
* - Use VFS_LOCK_GIANT() in place of mtx_lock(&giant), etc.jeff2005-01-241-9/+9
* /* -> /*- for copyright notices, minor format tweaks as necessaryimp2005-01-061-1/+1
* Fix a deadlock I introduced this morning.phk2004-12-141-6/+7
* Add a new kind of reference count (fd_holdcnt) to struct filedescphk2004-12-141-16/+45
* Make fdesc_mtx private to kern_descrip.c now that the flock has come home.phk2004-12-141-1/+1
* Move the checkdirs() function from vfs_mount.c to kern_descrip.c andphk2004-12-141-0/+48
* Add new function fdunshare() which encapsulates the necessary light magicphk2004-12-141-0/+19
* Sort and wash #includes.phk2004-12-031-18/+15
* Drop ffree() as a separate function and incorporate the only place used.phk2004-12-021-17/+8
* Style polishing.phk2004-12-021-88/+37
* We already have a lock initialization function, use that for fdesc_mtxphk2004-12-011-57/+28
* Collect the stuff for the /dev/fd/{%d,std{in,out,err}} pseudo-devicephk2004-12-011-55/+52
* "nfiles" is a bad name for a global variable. Call it "openfiles" insteadphk2004-12-011-6/+6
* Style: move data to top of file.phk2004-12-011-4/+4
* Don't acquire Giant before calling closef() in close() (and elsewhere);rwatson2004-11-281-7/+7
* Fix LOR.phk2004-11-261-2/+2
* Neither of the arguments to closef() can be NULL anymore, so don'tdas2004-11-211-4/+1
* Move a FILEDESC_UNLOCK up to maintain correct nesting of FILEDESC/FILEphk2004-11-161-11/+9
* Make FILE_LOCK and FILEDESC_LOCK nest properly by postponing the thephk2004-11-151-2/+2
* Move #define up.phk2004-11-141-5/+5
* Introduce an alias for FILEDESC_{UN}LOCK() with the suffix _FAST.phk2004-11-131-15/+15
* Use more intuitive pointer for fdinit() and fdcopy().phk2004-11-081-2/+1
* Introduce fdclose() which will clean an entry in a filedesc.phk2004-11-071-1/+17
OpenPOWER on IntegriCloud