summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_descrip.c
Commit message (Expand)AuthorAgeFilesLines
* Make fdunshare accept only td parameter.mjg2014-06-281-1/+2
* Make sure to always clear p_fd for process getting rid of its filetable.mjg2014-06-281-5/+5
* Tidy up fd-related functions called by do_execvemjg2014-06-231-18/+2
* Don't take filedesc lock in fdunshare().mjg2014-06-221-9/+6
* fd: replace fd_nfiles with fd_lastfile where appropriatemjg2014-06-221-6/+6
* do_dup: plug redundant adjustment of fd_lastfilemjg2014-06-221-2/+0
* Request a non-exiting process in sysctl_kern_proc_{o,}filedescmjg2014-05-021-2/+2
* Garbage collect fdavail.mjg2014-04-041-32/+0
* Mark the following sysctls as MPSAFE:mjg2014-03-211-5/+7
* Take filedesc lock only for reading when allocating new fdtable.mjg2014-03-211-2/+2
* Update kernel inclusions of capability.h to use capsicum.h instead; somerwatson2014-03-161-1/+1
* Fix style of comment blocks.bdrewery2014-02-221-4/+8
* Fix a race between kern_proc_{o,}filedesc_out and fdescfree leadingmjg2014-02-211-2/+2
* Fix M_FILEDESC leak in fdgrowtable() introduced in r244510.bdrewery2014-02-171-11/+17
* Remove redundant memcpy of fd_ofiles in fdgrowtable() added in r247602bdrewery2014-02-161-1/+0
* Plug a memory leak in dup2 when both old and new fd have ioctl caps.mjg2014-01-031-0/+1
* Don't check for fd limits in fdgrowtable_exp.mjg2014-01-031-6/+1
* Migrate the sendfile_sync structure into a public(ish) API in preparationadrian2013-12-011-2/+2
* Make process descriptors standard part of the kernel. rwhod(8) alreadypjd2013-11-301-5/+0
* When growing the file descriptor table, new larger memory chunk iskib2013-10-091-2/+21
* Reduce code duplication, introduce the getmaxfd() helper to calculatekib2013-10-091-9/+16
* it must be the last member, not might...jmg2013-09-261-1/+1
* Avoid memory accesses reordering which can result in fget_unlocked()attilio2013-09-251-2/+14
* Handle cases where capability rights are not provided.pjd2013-09-051-13/+20
* Change the cap_rights_t type from uint64_t to a structure that we can extendpjd2013-09-051-59/+78
* Make sendfile() a method in the struct fileops. Currently onlyglebius2013-08-151-0/+19
* 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
OpenPOWER on IntegriCloud