aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_descrip.c
Commit message (Expand)AuthorAgeFilesLines
* Add descrip_check_write_mp() helperKonstantin Belousov2023-01-201-0/+25
* file: Move code to share fdtol structs into kern_descrip.cMark Johnston2022-08-111-1/+11
* Revert rest of a5970a529c2d95271: use vrefact() when working on fp->f_vnodeKonstantin Belousov2022-04-191-3/+3
* Mostly revert a5970a529c2d95271: Make files opened with O_PATH to not block n...Konstantin Belousov2022-04-191-1/+1
* vfs: fixup WANTIOCTLCAPS on openMateusz Guzik2022-04-041-0/+5
* vfs: fix memory leak on lookup with fds with ioctl capsMateusz Guzik2022-04-041-1/+74
* file: Avoid a read-after-free of fd tables in sysctl handlersMark Johnston2022-03-311-5/+20
* fd: add close_range(..., CLOSE_RANGE_CLOEXEC)Mateusz Guzik2022-03-071-16/+51
* cache: add empty path supportMateusz Guzik2022-03-051-1/+1
* file: Make fget*() and getvnode*() consistent about initializing *fppMark Johnston2022-02-161-2/+10
* fd: Avoid truncating output buffers for KERN_PROC_{CWD,FILEDESC}Mark Johnston2022-01-161-25/+29
* fd: Initialize more export_fd_buf fields in kern_proc_cwd_out()Mark Johnston2021-12-311-0/+2
* fcntl(2): add F_KINFO operationKonstantin Belousov2021-12-131-1/+37
* Add declaration for static export_file_to_kinfo()Konstantin Belousov2021-12-131-0/+3
* fexecve(2): allow O_PATH file descriptors opened without O_EXECKonstantin Belousov2021-11-061-2/+3
* fd: add pwd_hold_procMateusz Guzik2021-10-111-0/+20
* fifo: support flockMateusz Guzik2021-10-111-6/+10
* fsetown: Avoid process group lock recursionMark Johnston2021-09-011-5/+2
* fsetown: Simplify error handlingMark Johnston2021-09-011-61/+45
* fsetown: Fix process lookup bugsMark Johnston2021-09-011-13/+23
* Add required sysctl name length checks to various handlersMark Johnston2021-07-301-0/+20
* ktrace: pack all ktrace parameters into allocated structure ktr_io_paramsKonstantin Belousov2021-06-131-5/+1
* fd: use PROC_WAIT_UNLOCKED when clearing p_fd/p_pdMateusz Guzik2021-06-071-8/+29
* kern_descrip.c: StyleKonstantin Belousov2021-05-251-3/+6
* O_PATH: allow vnode kevent filter on such filesKonstantin Belousov2021-04-231-1/+1
* Make files opened with O_PATH to not block non-forced unmountKonstantin Belousov2021-04-231-3/+3
* open(2): Implement O_PATHKonstantin Belousov2021-04-231-4/+42
* Style.Konstantin Belousov2021-04-231-1/+1
* close_range: add audit supportAlex Richardson2021-03-171-0/+4
* Fix fget_only_user() to return ENOTCAPABLE on a failed capsicum checkAlex Richardson2021-03-171-1/+1
* MFC jail: Change both root and working directories in jail_attach(2)Jamie Gritton2021-02-221-3/+42
* fd: add fget_only_userMateusz Guzik2021-02-011-3/+67
* fd: add refcount argument to falloc_noinstallMateusz Guzik2021-01-131-8/+21
* fd: add finstall_refedMateusz Guzik2021-01-131-8/+20
* fd: provide a dedicated closef variant for unix socket codeMateusz Guzik2021-01-131-1/+13
* fd: use seqc_read_notmodify when translating fdsMateusz Guzik2021-01-071-7/+3
* fd: make fd/fp mandatoryMateusz Guzik2021-01-071-7/+5
* fd: inline pwd_get_smrMateusz Guzik2021-01-011-10/+0
* Expose eventfd in the native API/ABI using a new __specialfd syscallKonstantin Belousov2020-12-271-2/+2
* fd: reimplement close_range to avoid spurious relockingMateusz Guzik2020-12-171-25/+30
* audit: rework AUDIT_SYSCLOSEMateusz Guzik2020-12-171-12/+15
* fd: refactor closefp in preparation for close_range reworkMateusz Guzik2020-12-171-21/+43
* fd: remove redundant saturation check from fget_unlocked_seqMateusz Guzik2020-12-161-7/+0
* fd: fix fdrop prediction when closing a fdMateusz Guzik2020-12-131-1/+1
* fd: make serialization in fdescfree_fds conditional on hold countMateusz Guzik2020-12-101-3/+7
* Plug a race between fd table teardown and several loopsMark Johnston2020-12-091-0/+12
* Use refcount_load(9) to load fd table reference countsMark Johnston2020-12-091-9/+14
* kern: never restart syscalls calling closefp(), e.g. close(2)Kyle Evans2020-11-251-0/+9
* kern: dup: do not assume oldfde is validKyle Evans2020-11-231-5/+12
* fd: free old file descriptor tables when not sharedRobert Wing2020-11-221-6/+14