summaryrefslogtreecommitdiffstats
path: root/fs/file.c
Commit message (Expand)AuthorAgeFilesLines
* 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-301-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-151-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-09-301-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-041-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-191-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-291-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-201-2/+4
|/
* Revert "fs: remove ksys_dup()"Dominik Brodowski2020-01-021-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-051-0/+1
|/
* Merge tag 'char-misc-4.21-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds2018-12-281-0/+29
|\
| * binder: fix use-after-free due to ksys_close() during fdget()Todd Kjos2018-12-191-0/+29
* | fs/file: Replace synchronize_sched() with synchronize_rcu()Paul E. McKenney2018-11-271-1/+1
|/
* fs: add ksys_close() wrapper; remove in-kernel calls to sys_close()Dominik Brodowski2018-04-021-0/+1
* fs: add ksys_dup{,3}() helper; remove in-kernel calls to sys_dup{,3}()Dominik Brodowski2018-04-021-3/+13
* Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds2018-01-311-5/+0
|\
| * fs/file.c: trim includesAl Viro2017-12-051-5/+0
* | fs: Eliminate cond_resched_rcu_qs() in favor of cond_resched()Paul E. McKenney2017-12-041-1/+1
|/
* Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds2017-11-171-5/+7
|\
| * vfs: grab the lock instead of blocking in __fd_install during resizingMateusz Guzik2017-11-051-4/+7
| * vfs: stop clearing close on exec when closing a fdMateusz Guzik2017-11-051-1/+0
* | License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman2017-11-021-0/+1
|/