summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_descrip.c
Commit message (Expand)AuthorAgeFilesLines
* Plug up the lock lock leakage when exporting to a short buffer.trociny2013-07-011-0/+2
* Remove duplicate NULL check in kern_proc_filedesc_out.mjg2013-06-281-2/+1
* Rework r252313:trociny2013-06-281-29/+40
* To avoid LOR, always drop the filedesc lock before exporting fd to sbuf.trociny2013-06-271-4/+2
* Similar to 233760 and 236717, export some more useful info about thejhb2013-05-031-0/+31
* Re-factor the code to provide kern_proc_filedesc_out(), kern_proc_out(),trociny2013-04-141-40/+68
* Add fdallocn function and use it when passing fds over unix socket.mjg2013-04-141-0/+28
* Use pget(9) to reduce code duplication.trociny2013-04-071-10/+4
* Use dedicated malloc type for filecaps-related data, so we can detect anypjd2013-03-031-2/+3
* Plug memory leaks in file descriptors passing.pjd2013-03-031-1/+1
* Merge Capsicum overhaul:pjd2013-03-021-332/+331
* Style.pjd2013-02-251-8/+5
* After r237012, the fdgrowtable() doesn't drop the filedesc lock anymore,pjd2013-02-251-3/+1
* Don't treat pointers as booleans.pjd2013-02-171-3/+3
* Make the F_READAHEAD option to fcntl(2) work as documented: a value of zeroian2013-02-131-1/+1
* Remove label that was accidentally moved during Giant removal from VFS.pjd2013-01-311-3/+4
* Rewrite fdgrowtable() so common mortals can actually understand whatdes2012-12-201-55/+74
* Remove the support for using non-mpsafe filesystem modules.kib2012-10-221-54/+7
* Add F_DUP2FD_CLOEXEC. Apparently Solaris 11 already did this.kib2012-07-271-0/+8
* (Incomplete) fixes for symbols visibility issues and style in fcntl.h.kib2012-07-211-1/+1
* Remove line which was accidentally kept in r238614.kib2012-07-191-1/+0
* Implement F_DUPFD_CLOEXEC command for fcntl(2), specified by SUSv4.kib2012-07-191-0/+11
* Follow-up commit to r238220:mjg2012-07-091-8/+24
* Unbreak handling of descriptors opened with O_EXEC by fexecve(2).mjg2012-07-081-3/+10
* Extend the KPI to lock and unlock f_offset member of struct file. Itkib2012-07-021-9/+12
* Don't check for race with close on advisory unlock (there is nothing smart wepjd2012-06-171-1/+2
* Extend the comment about checking for a race with close to explain whypjd2012-06-171-1/+17
* If VOP_ADVLOCK() call or earlier checks failed don't check for a race withpjd2012-06-171-0/+4
* Revert r237073. 'td' can be NULL here.pjd2012-06-161-3/+1
* One more attempt to make prototypes formated according to style(9), whichpjd2012-06-151-15/+16
* Remove fdtofp() function and use fget_locked(), which works exactly the same.pjd2012-06-141-20/+8
* Assert that the filedesc lock is being held when the fdunwrap() functionpjd2012-06-141-0/+2
* Simplify the code by making more use of the fdtofp() function.pjd2012-06-141-7/+4
* - Assert that the filedesc lock is being held when fdisused() is called.pjd2012-06-141-2/+4
* Style fixes and assertions improvements.pjd2012-06-141-6/+7
* Assert that the filedesc lock is not held when closef() is called.pjd2012-06-141-1/+3
* Style fixes.pjd2012-06-141-17/+16
* Remove code duplication from fdclosexec(), which was the reason of the bugpjd2012-06-141-30/+19
* When we are closing capabilities during exec, we want to call mq_fdclose()pjd2012-06-141-3/+9
* Style.pjd2012-06-141-19/+14
* When checking if file descriptor number is valid, explicitely check for 'fd'pjd2012-06-131-7/+7
* Allocate descriptor number in dupfdopen() itself instead of depending onpjd2012-06-131-16/+18
* There is only one caller of the dupfdopen() function, so we can simplifypjd2012-06-131-32/+14
* Remove 'low' argument from fd_last_used().mjg2012-06-131-10/+7
* Re-apply reverted parts of r236935 by pjd with some changes.mjg2012-06-131-15/+17
* Revert part of the r236935 for now, until I figure out why it doesn'tpjd2012-06-121-8/+6
* fdgrowtable() no longer drops the filedesc lock so it is enough topjd2012-06-111-9/+13
* Use consistent way of checking if descriptor number is valid.pjd2012-06-111-3/+3
* Be consistent with white spaces.pjd2012-06-111-1/+1
* Remove code duplicated in kern_close() and do_dup() and use closefp() functionpjd2012-06-111-89/+7
OpenPOWER on IntegriCloud