summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_descrip.c
Commit message (Expand)AuthorAgeFilesLines
...
* 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
* Introduce closefp() function that we will be able to use to eliminatepjd2012-06-111-0/+55
* Merge two ifs into one to make the code almost identical to the code inpjd2012-06-111-16/+17
* Move the code around a bit to move two parts of code duplicated frompjd2012-06-111-10/+11
* Now that fdgrowtable() doesn't drop the filedesc lock we don't need topjd2012-06-111-13/+1
* When we are closing capability during dup2(), we want to call mq_fdclose()pjd2012-06-101-2/+7
* Merge two ifs into one. Other minor style fixes.pjd2012-06-101-12/+9
* Simplify fdtofp().pjd2012-06-101-4/+4
* There is no need to drop the FILEDESC lock around malloc(M_WAITOK) anymore, aspjd2012-06-091-17/+1
* Remove now unused variable.pjd2012-06-091-1/+0
* Make some of the loops more readable.pjd2012-06-091-16/+9
* Correct panic message.pjd2012-06-091-1/+1
* In fdalloc() f_ofileflags for the newly allocated descriptor has to be 0.pjd2012-06-071-3/+2
* Return EBADF instead of EMFILE from dup2 when the second argument iseadler2012-04-111-1/+1
* Export some more useful info about shared memory objects to userlandjhb2012-04-011-0/+28
* Free up allocated memory used by posix_fadvise(2).pho2012-03-081-0/+3
* Reformat comment to be more readable in standard Xterm.obrien2011-11-151-13/+18
* Move the cleanup of f_cdevpriv when the reference count of a devfsjhb2011-11-041-6/+0
* Correct a bug in export of capability-related information from the sysctlsrwatson2011-10-121-12/+20
* In order to maximize the re-usability of kernel code in user space thiskmacy2011-09-161-10/+10
* Add experimental support for process descriptorsjonathan2011-08-181-0/+30
* Add the fo_chown and fo_chmod methods to struct fileops and use themkib2011-08-161-0/+33
* Allow Capsicum capabilities to delegate constrainedjonathan2011-08-131-0/+10
OpenPOWER on IntegriCloud