aboutsummaryrefslogtreecommitdiffstats
path: root/fs/file.c (follow)
AgeCommit message (Expand)AuthorFilesLines
2021-12-03fget: check that the fd still exists after getting a ref to itLinus Torvalds1-0/+4
2021-09-11Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-0/+6
2021-09-06file: Export receive_fd() to modulesXie Yongji1-0/+6
2021-08-31Merge tag 'fs.close_range.v5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linuxLinus Torvalds1-24/+40
2021-05-03Merge branch 'work.file' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfsLinus Torvalds1-20/+19
2021-04-16fs: split receive_fd_replace from __receive_fdChristoph Hellwig1-20/+19
2021-04-02file: simplify logic in __close_range()Christian Brauner1-17/+14
2021-04-02file: fix close_range() for unshare+cloexecChristian Brauner1-4/+17
2021-04-02file: let pick_file() tell caller it's doneChristian Brauner1-7/+26
2021-02-01fs: provide locked helper variant of close_fd_get_file()Jens Axboe1-11/+25
2020-12-30kernel/io_uring: cancel io_uring before task worksPavel Begunkov1-2/+0
2020-12-19close_range: unshare all fds for CLOSE_RANGE_UNSHARE | CLOSE_RANGE_CLOEXECChristian Brauner1-1/+3
2020-12-15Merge branch 'exec-for-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespaceLinus Torvalds1-66/+58
2020-12-10file: Remove get_files_structEric W. Biederman1-13/+0
2020-12-10file: Rename __close_fd_get_file close_fd_get_fileEric W. Biederman1-2/+2
2020-12-10file: Rename __close_fd to close_fd and remove the files parameterEric W. Biederman1-6/+4
2020-12-10file: Merge __alloc_fd into alloc_fdEric W. Biederman1-8/+3
2020-12-10file: In f_dupfd read RLIMIT_NOFILE once.Eric W. Biederman1-4/+5
2020-12-10file: Merge __fd_install into fd_installEric W. Biederman1-19/+6
2020-12-10file: Implement task_lookup_next_fd_rcuEric W. Biederman1-0/+21
2020-12-10file: Implement task_lookup_fd_rcuEric W. Biederman1-0/+15
2020-12-10file: Replace fcheck_files with files_lookup_fd_rcuEric W. Biederman1-2/+2
2020-12-10file: Factor files_lookup_fd_locked out of fcheck_filesEric W. Biederman1-1/+1
2020-12-10file: Rename __fcheck_files to files_lookup_fd_rawEric W. Biederman1-1/+1
2020-12-10exec: Remove reset_files_structEric W. Biederman1-12/+0
2020-12-04fs, close_range: add flag CLOSE_RANGE_CLOEXECGiuseppe Scrivano1-10/+34
2020-09-30io_uring: don't rely on weak ->files referencesJens Axboe1-0/+2
2020-08-07Merge branch 'hch.init_path' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfsLinus Torvalds1-6/+1
2020-08-04Merge tag 'close-range-v5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linuxLinus Torvalds1-11/+110
2020-07-31fs: remove ksys_dupChristoph Hellwig1-6/+1
2020-07-13fs: Expand __receive_fd() to accept existing fdKees Cook1-6/+19
2020-07-13fs: Add receive_fd() wrapper for __receive_fd()Kees Cook1-7/+10
2020-07-13fs: Move __scm_install_fd() to __receive_fd()Kees Cook1-0/+45
2020-06-17close_range: add CLOSE_RANGE_UNSHAREChristian Brauner1-7/+58
2020-06-17open: add close_range()Christian Brauner1-8/+56
2020-05-19fix multiplication overflow in copy_fdtable()Al Viro1-1/+1
2020-03-20io_uring: make sure openat/openat2 honor rlimit nofileJens Axboe1-1/+6
2020-01-29Merge tag 'threads-v5.6' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linuxLinus Torvalds1-2/+20
2020-01-20fs: move filp_close() outside of __close_fd_get_file()Jens Axboe1-2/+4
2020-01-13vfs, fdtable: Add fget_task helperSargun Dhillon1-2/+20
2020-01-02Revert "fs: remove ksys_dup()"Dominik Brodowski1-1/+6
2019-12-12fs: remove ksys_dup()Dominik Brodowski1-6/+1
2019-11-26Revert "vfs: properly and reliably lock f_pos in fdget_pos()"Linus Torvalds1-1/+1
2019-11-25vfs: properly and reliably lock f_pos in fdget_pos()Linus Torvalds1-1/+1
2019-03-08Merge tag 'io_uring-2019-03-06' of git://git.kernel.dk/linux-blockLinus Torvalds1-5/+10
2019-03-05fs/file.c: initialize init_files.resize_waitShuriyc Chu1-0/+1
2019-02-28fs: add fget_many() and fput_many()Jens Axboe1-5/+10
2018-12-28Merge tag 'char-misc-4.21-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-miscLinus Torvalds1-0/+29
2018-12-19binder: fix use-after-free due to ksys_close() during fdget()Todd Kjos1-0/+29
2018-11-27fs/file: Replace synchronize_sched() with synchronize_rcu()Paul E. McKenney1-1/+1