summaryrefslogtreecommitdiff
path: root/fs/file.c
AgeCommit message (Expand)AuthorFilesLines
2024-09-29close_range(): fix the logics in descriptor table trimmingAl Viro1-61/+34
2024-09-23Merge tag 'pull-stable-struct_fd' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-13/+13
2024-08-30file: remove outdated comment after close_fd()Joel Savitz1-1/+1
2024-08-12add struct fd constructors, get rid of __to_fd()Al Viro1-13/+13
2024-08-05fix bitmap corruption on close_range() with CLOSE_RANGE_UNSHAREAl Viro1-17/+13
2024-08-01protect the fetch of ->fd[fd] in do_dup2() from mispredictionsAl Viro1-0/+1
2024-05-30fs/file: fix the check in find_next_fd()Yuntao Wang1-2/+2
2024-04-15get_file_rcu(): no need to check for NULL separatelyAl Viro1-7/+2
2024-04-15fd_is_open(): move to fs/file.cAl Viro1-0/+5
2024-04-15close_on_exec(): pass files_struct instead of fdtableAl Viro1-4/+1
2023-12-12file: remove __receive_fd()Christian Brauner1-8/+3
2023-12-12file: remove pointless wrapperChristian Brauner1-14/+9
2023-12-12file: s/close_fd_get_file()/file_close_fd()/gChristian Brauner1-5/+9
2023-12-12Improve __fget_files_rcu() code generation (and thus __fget_light())Linus Torvalds1-18/+33
2023-10-25file, i915: fix file reference for mmap_singleton()Christian Brauner1-0/+25
2023-10-19backing file: free directlyChristian Brauner1-0/+3
2023-10-19file: convert to SLAB_TYPESAFE_BY_RCUChristian Brauner1-18/+107
2023-08-28Merge tag 'v6.6-vfs.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vf...Linus Torvalds1-14/+16
2023-08-19fs: Fix kernel-doc warningsMatthew Wilcox (Oracle)1-1/+2
2023-08-06fs: rely on ->iterate_shared to determine f_pos lockingChristian Brauner1-1/+1
2023-08-04file: reinstate f_pos locking optimization for regular filesLinus Torvalds1-1/+17
2023-08-04file: mostly eliminate spurious relocking in __range_closeMateusz Guzik1-13/+14
2023-07-24file: always lock position for FMODE_ATOMIC_POSChristian Brauner1-4/+2
2023-03-09fs: prevent out-of-bounds array speculation when closing a file descriptorTheodore Ts'o1-0/+1
2022-10-31fs: use acquire ordering in __fget_light()Jann Horn1-1/+10
2022-06-29gfs2: Add glockfd debugfs fileAndreas Gruenbacher1-0/+1
2022-06-05fix the breakage in close_fd_get_file() calling conventions changeAl Viro1-2/+1
2022-05-14Unify the primitives for file descriptor closingAl Viro1-48/+29
2022-05-14fs: remove fget_many and fput_many interfaceGou Hao1-20/+13
2022-03-29fs: fix fd table size alignment properlyLinus Torvalds1-2/+1
2022-03-29fs: fd tables have to be multiples of BITS_PER_LONGLinus Torvalds1-0/+30
2021-12-13fget: clarify and improve __fget_files() implementationLinus Torvalds1-16/+56
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...Linus Torvalds1-24/+40
2021-05-03Merge branch 'work.file' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus 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/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