summaryrefslogtreecommitdiff
path: root/fs/file.c
AgeCommit message (Expand)AuthorFilesLines
2021-04-02file: fix close_range() for unshare+cloexecChristian Brauner1-4/+17
2021-02-01fs: provide locked helper variant of close_fd_get_file()Jens Axboe1-11/+25
2020-12-31kernel/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-16Merge branch 'exec-for-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus 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-10-01io_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...Linus Torvalds1-6/+1
2020-08-05Merge tag 'close-range-v5.9' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus 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-20fix 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-30Merge tag 'threads-v5.6' of git://git.kernel.org/pub/scm/linux/kernel/git/bra...Linus Torvalds1-2/+20
2020-01-21fs: 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-03Revert "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-09Merge tag 'io_uring-2019-03-06' of git://git.kernel.dk/linux-blockLinus Torvalds1-5/+10
2019-03-06fs/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-29Merge tag 'char-misc-4.21-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus 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
2018-04-02fs: add ksys_close() wrapper; remove in-kernel calls to sys_close()Dominik Brodowski1-0/+1
2018-04-02fs: add ksys_dup{,3}() helper; remove in-kernel calls to sys_dup{,3}()Dominik Brodowski1-3/+13
2018-01-31Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-5/+0
2017-12-05fs/file.c: trim includesAl Viro1-5/+0
2017-12-04fs: Eliminate cond_resched_rcu_qs() in favor of cond_resched()Paul E. McKenney1-1/+1
2017-11-17Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-5/+7
2017-11-06vfs: grab the lock instead of blocking in __fd_install during resizingMateusz Guzik1-4/+7
2017-11-06vfs: stop clearing close on exec when closing a fdMateusz Guzik1-1/+0