summaryrefslogtreecommitdiffstats
path: root/fs/file.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* fget: clarify and improve __fget_files() implementationLinus Torvalds2021-12-131-16/+56
* fget: check that the fd still exists after getting a ref to itLinus Torvalds2021-12-031-0/+4
* Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds2021-09-111-0/+6
|\
| * file: Export receive_fd() to modulesXie Yongji2021-09-061-0/+6
* | Merge tag 'fs.close_range.v5.15' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds2021-08-311-24/+40
|\ \ | |/ |/|
| * file: simplify logic in __close_range()Christian Brauner2021-04-021-17/+14
| * file: let pick_file() tell caller it's doneChristian Brauner2021-04-021-7/+26
* | Merge branch 'work.file' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds2021-05-031-20/+19
|\ \ | |/ |/|
| * fs: split receive_fd_replace from __receive_fdChristoph Hellwig2021-04-161-20/+19
* | file: fix close_range() for unshare+cloexecChristian Brauner2021-04-021-4/+17
|/
* fs: provide locked helper variant of close_fd_get_file()Jens Axboe2021-02-011-11/+25
* kernel/io_uring: cancel io_uring before task worksPavel Begunkov2020-12-311-2/+0
* close_range: unshare all fds for CLOSE_RANGE_UNSHARE | CLOSE_RANGE_CLOEXECChristian Brauner2020-12-191-1/+3
* Merge branch 'exec-for-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds2020-12-161-66/+58
|\
| * file: Remove get_files_structEric W. Biederman2020-12-101-13/+0
| * file: Rename __close_fd_get_file close_fd_get_fileEric W. Biederman2020-12-101-2/+2
| * file: Rename __close_fd to close_fd and remove the files parameterEric W. Biederman2020-12-101-6/+4
| * file: Merge __alloc_fd into alloc_fdEric W. Biederman2020-12-101-8/+3
| * file: In f_dupfd read RLIMIT_NOFILE once.Eric W. Biederman2020-12-101-4/+5
| * file: Merge __fd_install into fd_installEric W. Biederman2020-12-101-19/+6
| * file: Implement task_lookup_next_fd_rcuEric W. Biederman2020-12-101-0/+21
| * file: Implement task_lookup_fd_rcuEric W. Biederman2020-12-101-0/+15
| * file: Replace fcheck_files with files_lookup_fd_rcuEric W. Biederman2020-12-101-2/+2
| * file: Factor files_lookup_fd_locked out of fcheck_filesEric W. Biederman2020-12-101-1/+1
| * file: Rename __fcheck_files to files_lookup_fd_rawEric W. Biederman2020-12-101-1/+1
| * exec: Remove reset_files_structEric W. Biederman2020-12-101-12/+0
* | fs, close_range: add flag CLOSE_RANGE_CLOEXECGiuseppe Scrivano2020-12-041-10/+34
|/
* io_uring: don't rely on weak ->files referencesJens Axboe2020-10-011-0/+2
* Merge branch 'hch.init_path' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds2020-08-071-6/+1
|\
| * fs: remove ksys_dupChristoph Hellwig2020-07-311-6/+1
* | Merge tag 'close-range-v5.9' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds2020-08-051-11/+110
|\ \
| * | close_range: add CLOSE_RANGE_UNSHAREChristian Brauner2020-06-171-7/+58
| * | open: add close_range()Christian Brauner2020-06-171-8/+56
| |/
* | fs: Expand __receive_fd() to accept existing fdKees Cook2020-07-131-6/+19
* | fs: Add receive_fd() wrapper for __receive_fd()Kees Cook2020-07-131-7/+10
* | fs: Move __scm_install_fd() to __receive_fd()Kees Cook2020-07-131-0/+45
|/
* fix multiplication overflow in copy_fdtable()Al Viro2020-05-201-1/+1
* io_uring: make sure openat/openat2 honor rlimit nofileJens Axboe2020-03-201-1/+6
* Merge tag 'threads-v5.6' of git://git.kernel.org/pub/scm/linux/kernel/git/bra...Linus Torvalds2020-01-301-2/+20
|\
| * vfs, fdtable: Add fget_task helperSargun Dhillon2020-01-131-2/+20
* | fs: move filp_close() outside of __close_fd_get_file()Jens Axboe2020-01-211-2/+4
|/
* Revert "fs: remove ksys_dup()"Dominik Brodowski2020-01-031-1/+6
* fs: remove ksys_dup()Dominik Brodowski2019-12-121-6/+1
* Revert "vfs: properly and reliably lock f_pos in fdget_pos()"Linus Torvalds2019-11-261-1/+1
* vfs: properly and reliably lock f_pos in fdget_pos()Linus Torvalds2019-11-251-1/+1
* Merge tag 'io_uring-2019-03-06' of git://git.kernel.dk/linux-blockLinus Torvalds2019-03-081-5/+10
|\
| * fs: add fget_many() and fput_many()Jens Axboe2019-02-281-5/+10
* | fs/file.c: initialize init_files.resize_waitShuriyc Chu2019-03-061-0/+1
|/
* Merge tag 'char-misc-4.21-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds2018-12-291-0/+29
|\
| * binder: fix use-after-free due to ksys_close() during fdget()Todd Kjos2018-12-191-0/+29