summaryrefslogtreecommitdiff
path: root/fs/file.c
Commit message (Expand)AuthorAgeFilesLines
* fs: prevent out-of-bounds array speculation when closing a file descriptorTheodore Ts'o2023-03-091-0/+1
* fs: use acquire ordering in __fget_light()Jann Horn2022-10-311-1/+10
* gfs2: Add glockfd debugfs fileAndreas Gruenbacher2022-06-291-0/+1
* fix the breakage in close_fd_get_file() calling conventions changeAl Viro2022-06-051-2/+1
* Unify the primitives for file descriptor closingAl Viro2022-05-141-48/+29
* fs: remove fget_many and fput_many interfaceGou Hao2022-05-141-20/+13
* fs: fix fd table size alignment properlyLinus Torvalds2022-03-291-2/+1
* fs: fd tables have to be multiples of BITS_PER_LONGLinus Torvalds2022-03-291-0/+30
* 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-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