Age | Commit message (Expand) | Author | Files | Lines |
2024-04-15 | get_file_rcu(): no need to check for NULL separately | Al Viro | 1 | -7/+2 |
2024-04-15 | fd_is_open(): move to fs/file.c | Al Viro | 1 | -0/+5 |
2024-04-15 | close_on_exec(): pass files_struct instead of fdtable | Al Viro | 1 | -4/+1 |
2023-12-12 | file: remove __receive_fd() | Christian Brauner | 1 | -8/+3 |
2023-12-12 | file: remove pointless wrapper | Christian Brauner | 1 | -14/+9 |
2023-12-12 | file: s/close_fd_get_file()/file_close_fd()/g | Christian Brauner | 1 | -5/+9 |
2023-12-12 | Improve __fget_files_rcu() code generation (and thus __fget_light()) | Linus Torvalds | 1 | -18/+33 |
2023-10-25 | file, i915: fix file reference for mmap_singleton() | Christian Brauner | 1 | -0/+25 |
2023-10-19 | backing file: free directly | Christian Brauner | 1 | -0/+3 |
2023-10-19 | file: convert to SLAB_TYPESAFE_BY_RCU | Christian Brauner | 1 | -18/+107 |
2023-08-28 | Merge tag 'v6.6-vfs.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vf... | Linus Torvalds | 1 | -14/+16 |
2023-08-19 | fs: Fix kernel-doc warnings | Matthew Wilcox (Oracle) | 1 | -1/+2 |
2023-08-06 | fs: rely on ->iterate_shared to determine f_pos locking | Christian Brauner | 1 | -1/+1 |
2023-08-04 | file: reinstate f_pos locking optimization for regular files | Linus Torvalds | 1 | -1/+17 |
2023-08-04 | file: mostly eliminate spurious relocking in __range_close | Mateusz Guzik | 1 | -13/+14 |
2023-07-24 | file: always lock position for FMODE_ATOMIC_POS | Christian Brauner | 1 | -4/+2 |
2023-03-09 | fs: prevent out-of-bounds array speculation when closing a file descriptor | Theodore Ts'o | 1 | -0/+1 |
2022-10-31 | fs: use acquire ordering in __fget_light() | Jann Horn | 1 | -1/+10 |
2022-06-29 | gfs2: Add glockfd debugfs file | Andreas Gruenbacher | 1 | -0/+1 |
2022-06-05 | fix the breakage in close_fd_get_file() calling conventions change | Al Viro | 1 | -2/+1 |
2022-05-14 | Unify the primitives for file descriptor closing | Al Viro | 1 | -48/+29 |
2022-05-14 | fs: remove fget_many and fput_many interface | Gou Hao | 1 | -20/+13 |
2022-03-29 | fs: fix fd table size alignment properly | Linus Torvalds | 1 | -2/+1 |
2022-03-29 | fs: fd tables have to be multiples of BITS_PER_LONG | Linus Torvalds | 1 | -0/+30 |
2021-12-13 | fget: clarify and improve __fget_files() implementation | Linus Torvalds | 1 | -16/+56 |
2021-12-03 | fget: check that the fd still exists after getting a ref to it | Linus Torvalds | 1 | -0/+4 |
2021-09-11 | Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost | Linus Torvalds | 1 | -0/+6 |
2021-09-06 | file: Export receive_fd() to modules | Xie Yongji | 1 | -0/+6 |
2021-08-31 | Merge tag 'fs.close_range.v5.15' of git://git.kernel.org/pub/scm/linux/kernel... | Linus Torvalds | 1 | -24/+40 |
2021-05-03 | Merge branch 'work.file' of git://git.kernel.org/pub/scm/linux/kernel/git/vir... | Linus Torvalds | 1 | -20/+19 |
2021-04-16 | fs: split receive_fd_replace from __receive_fd | Christoph Hellwig | 1 | -20/+19 |
2021-04-02 | file: simplify logic in __close_range() | Christian Brauner | 1 | -17/+14 |
2021-04-02 | file: fix close_range() for unshare+cloexec | Christian Brauner | 1 | -4/+17 |
2021-04-02 | file: let pick_file() tell caller it's done | Christian Brauner | 1 | -7/+26 |
2021-02-01 | fs: provide locked helper variant of close_fd_get_file() | Jens Axboe | 1 | -11/+25 |
2020-12-30 | kernel/io_uring: cancel io_uring before task works | Pavel Begunkov | 1 | -2/+0 |
2020-12-19 | close_range: unshare all fds for CLOSE_RANGE_UNSHARE | CLOSE_RANGE_CLOEXEC | Christian Brauner | 1 | -1/+3 |
2020-12-15 | Merge branch 'exec-for-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/gi... | Linus Torvalds | 1 | -66/+58 |
2020-12-10 | file: Remove get_files_struct | Eric W. Biederman | 1 | -13/+0 |
2020-12-10 | file: Rename __close_fd_get_file close_fd_get_file | Eric W. Biederman | 1 | -2/+2 |
2020-12-10 | file: Rename __close_fd to close_fd and remove the files parameter | Eric W. Biederman | 1 | -6/+4 |
2020-12-10 | file: Merge __alloc_fd into alloc_fd | Eric W. Biederman | 1 | -8/+3 |
2020-12-10 | file: In f_dupfd read RLIMIT_NOFILE once. | Eric W. Biederman | 1 | -4/+5 |
2020-12-10 | file: Merge __fd_install into fd_install | Eric W. Biederman | 1 | -19/+6 |
2020-12-10 | file: Implement task_lookup_next_fd_rcu | Eric W. Biederman | 1 | -0/+21 |
2020-12-10 | file: Implement task_lookup_fd_rcu | Eric W. Biederman | 1 | -0/+15 |
2020-12-10 | file: Replace fcheck_files with files_lookup_fd_rcu | Eric W. Biederman | 1 | -2/+2 |
2020-12-10 | file: Factor files_lookup_fd_locked out of fcheck_files | Eric W. Biederman | 1 | -1/+1 |
2020-12-10 | file: Rename __fcheck_files to files_lookup_fd_raw | Eric W. Biederman | 1 | -1/+1 |
2020-12-10 | exec: Remove reset_files_struct | Eric W. Biederman | 1 | -12/+0 |
2020-12-04 | fs, close_range: add flag CLOSE_RANGE_CLOEXEC | Giuseppe Scrivano | 1 | -10/+34 |
2020-09-30 | io_uring: don't rely on weak ->files references | Jens Axboe | 1 | -0/+2 |
2020-08-07 | Merge branch 'hch.init_path' of git://git.kernel.org/pub/scm/linux/kernel/git... | Linus Torvalds | 1 | -6/+1 |
2020-08-04 | Merge tag 'close-range-v5.9' of git://git.kernel.org/pub/scm/linux/kernel/git... | Linus Torvalds | 1 | -11/+110 |
2020-07-31 | fs: remove ksys_dup | Christoph Hellwig | 1 | -6/+1 |
2020-07-13 | fs: Expand __receive_fd() to accept existing fd | Kees Cook | 1 | -6/+19 |
2020-07-13 | fs: Add receive_fd() wrapper for __receive_fd() | Kees Cook | 1 | -7/+10 |
2020-07-13 | fs: Move __scm_install_fd() to __receive_fd() | Kees Cook | 1 | -0/+45 |
2020-06-17 | close_range: add CLOSE_RANGE_UNSHARE | Christian Brauner | 1 | -7/+58 |
2020-06-17 | open: add close_range() | Christian Brauner | 1 | -8/+56 |
2020-05-19 | fix multiplication overflow in copy_fdtable() | Al Viro | 1 | -1/+1 |
2020-03-20 | io_uring: make sure openat/openat2 honor rlimit nofile | Jens Axboe | 1 | -1/+6 |
2020-01-29 | Merge tag 'threads-v5.6' of git://git.kernel.org/pub/scm/linux/kernel/git/bra... | Linus Torvalds | 1 | -2/+20 |
2020-01-20 | fs: move filp_close() outside of __close_fd_get_file() | Jens Axboe | 1 | -2/+4 |
2020-01-13 | vfs, fdtable: Add fget_task helper | Sargun Dhillon | 1 | -2/+20 |
2020-01-02 | Revert "fs: remove ksys_dup()" | Dominik Brodowski | 1 | -1/+6 |
2019-12-12 | fs: remove ksys_dup() | Dominik Brodowski | 1 | -6/+1 |
2019-11-26 | Revert "vfs: properly and reliably lock f_pos in fdget_pos()" | Linus Torvalds | 1 | -1/+1 |
2019-11-25 | vfs: properly and reliably lock f_pos in fdget_pos() | Linus Torvalds | 1 | -1/+1 |
2019-03-08 | Merge tag 'io_uring-2019-03-06' of git://git.kernel.dk/linux-block | Linus Torvalds | 1 | -5/+10 |
2019-03-05 | fs/file.c: initialize init_files.resize_wait | Shuriyc Chu | 1 | -0/+1 |
2019-02-28 | fs: add fget_many() and fput_many() | Jens Axboe | 1 | -5/+10 |
2018-12-28 | Merge tag 'char-misc-4.21-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g... | Linus Torvalds | 1 | -0/+29 |
2018-12-19 | binder: fix use-after-free due to ksys_close() during fdget() | Todd Kjos | 1 | -0/+29 |
2018-11-27 | fs/file: Replace synchronize_sched() with synchronize_rcu() | Paul E. McKenney | 1 | -1/+1 |
2018-04-02 | fs: add ksys_close() wrapper; remove in-kernel calls to sys_close() | Dominik Brodowski | 1 | -0/+1 |
2018-04-02 | fs: add ksys_dup{,3}() helper; remove in-kernel calls to sys_dup{,3}() | Dominik Brodowski | 1 | -3/+13 |
2018-01-31 | Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir... | Linus Torvalds | 1 | -5/+0 |
2017-12-05 | fs/file.c: trim includes | Al Viro | 1 | -5/+0 |
2017-12-04 | fs: Eliminate cond_resched_rcu_qs() in favor of cond_resched() | Paul E. McKenney | 1 | -1/+1 |
2017-11-17 | Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir... | Linus Torvalds | 1 | -5/+7 |
2017-11-05 | vfs: grab the lock instead of blocking in __fd_install during resizing | Mateusz Guzik | 1 | -4/+7 |
2017-11-05 | vfs: stop clearing close on exec when closing a fd | Mateusz Guzik | 1 | -1/+0 |
2017-11-02 | License cleanup: add SPDX GPL-2.0 license identifier to files with no license | Greg Kroah-Hartman | 1 | -0/+1 |
2017-07-06 | fs/file.c: replace alloc_fdmem() with kvmalloc() alternative | Michal Hocko | 1 | -18/+4 |
2017-05-08 | mm, vmalloc: use __GFP_HIGHMEM implicitly | Michal Hocko | 1 | -1/+1 |
2017-03-02 | sched/headers: Prepare for new header dependencies before moving code to <lin... | Ingo Molnar | 1 | -1/+1 |
2016-09-27 | fs/file: more unsigned file descriptors | Alexey Dobriyan | 1 | -17/+17 |
2016-05-02 | give readdir(2)/getdents(2)/etc. uniform exclusion with lseek() | Al Viro | 1 | -0/+5 |
2016-01-14 | kmemcg: account certain kmem allocations to memcg | Vladimir Davydov | 1 | -3/+4 |
2015-12-06 | fs/file.c: __const_max is actually __const_min :-) | Rasmus Villemoes | 1 | -3/+3 |
2015-11-05 | vfs: clear remainder of 'full_fds_bits' in dup_fd() | Eric Biggers | 1 | -32/+32 |
2015-10-31 | vfs: conditionally clear close-on-exec flag | Linus Torvalds | 1 | -1/+2 |
2015-10-31 | vfs: Fix pathological performance case for __alloc_fd() | Linus Torvalds | 1 | -4/+35 |
2015-07-01 | fs/file.c: __fget() and dup2() atomicity rules | Eric Dumazet | 1 | -2/+8 |
2015-07-01 | fs/file.c: don't acquire files->file_lock in fd_install() | Eric Dumazet | 1 | -19/+48 |
2015-04-17 | mm: rcu-protected get_mm_exe_file() | Konstantin Khlebnikov | 1 | -2/+1 |
2014-12-10 | fs/file.c: replace get_unused_fd() with get_unused_fd_flags(0) | Yann Droneaud | 1 | -1/+1 |
2014-10-13 | Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kerne... | Linus Torvalds | 1 | -1/+1 |
2014-10-09 | missing annotation in fs/file.c | Al Viro | 1 | -0/+1 |
2014-09-07 | rcu: Provide cond_resched_rcu_qs() to force quiescent states in long loops | Paul E. McKenney | 1 | -1/+1 |
2014-05-06 | fs/file.c: don't open-code kvfree() | Al Viro | 1 | -8/+3 |
2014-04-12 | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir... | Linus Torvalds | 1 | -7/+4 |
2014-04-01 | get rid of files_defer_init() | Al Viro | 1 | -7/+4 |
2014-03-31 | Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kerne... | Linus Torvalds | 1 | -1/+1 |
2014-03-23 | vfs: Don't let __fdget_pos() get FMODE_PATH files | Eric Biggers | 1 | -15/+4 |
2014-03-10 | get rid of fget_light() | Al Viro | 1 | -13/+43 |
2014-02-17 | fs: Substitute rcu_access_pointer() for rcu_dereference_raw() | Paul E. McKenney | 1 | -1/+1 |
2014-02-10 | fs/file.c:fdtable: avoid triggering OOMs from alloc_fdmem | Eric W. Biederman | 1 | -1/+1 |
2014-01-25 | fs: __fget_light() can use __fget() in slow path | Oleg Nesterov | 1 | -11/+3 |
2014-01-25 | fs: factor out common code in fget_light() and fget_raw_light() | Oleg Nesterov | 1 | -24/+9 |
2014-01-25 | fs: factor out common code in fget() and fget_raw() | Oleg Nesterov | 1 | -17/+8 |
2014-01-25 | change close_files() to use rcu_dereference_raw(files->fdt) | Oleg Nesterov | 1 | -17/+9 |
2014-01-25 | introduce __fcheck_files() to fix rcu_dereference_check_fdtable(), kill rcu_m... | Oleg Nesterov | 1 | -2/+2 |
2013-05-01 | don't bother with deferred freeing of fdtables | Al Viro | 1 | -66/+2 |
2013-02-19 | locking: Various static lock initializer fixes | Thomas Gleixner | 1 | -1/+1 |
2013-01-03 | misc: remove __dev* attributes. | Greg Kroah-Hartman | 1 | -1/+1 |
2012-12-12 | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir... | Linus Torvalds | 1 | -6/+0 |
2012-11-29 | fix off-by-one in argument passed by iterate_fd() to callbacks | Al Viro | 1 | -6/+8 |
2012-11-28 | kill daemonize() | Al Viro | 1 | -6/+0 |
2012-11-18 | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir... | Linus Torvalds | 1 | -1/+0 |
2012-11-12 | kill bogus BUG_ON() in do_close_on_exec() | Al Viro | 1 | -1/+0 |
2012-10-30 | Return the right error value when dup[23]() newfd argument is too large | Al Viro | 1 | -2/+2 |
2012-10-09 | dup3: Return an error when oldfd == newfd. | Richard W.M. Jones | 1 | -0/+3 |
2012-09-26 | export fget_light | Al Viro | 1 | -0/+1 |
2012-09-26 | new helper: daemonize_descriptors() | Al Viro | 1 | -0/+6 |
2012-09-26 | new helper: iterate_fd() | Al Viro | 1 | -0/+21 |
2012-09-26 | make expand_files() and alloc_fd() static | Al Viro | 1 | -2/+2 |
2012-09-26 | take __{set,clear}_{open_fd,close_on_exec}() into fs/file.c | Al Viro | 1 | -0/+20 |
2012-09-26 | new helper: replace_fd() | Al Viro | 1 | -29/+62 |
2012-09-26 | take purely descriptor-related stuff from fcntl.c to file.c | Al Viro | 1 | -0/+132 |
2012-09-26 | take close-on-exec logics to fs/file.c, clean it up a bit | Al Viro | 1 | -0/+37 |
2012-09-26 | take descriptor-related part of close() to file.c | Al Viro | 1 | -0/+26 |
2012-09-26 | take fget() and friends to fs/file.c | Al Viro | 1 | -0/+106 |
2012-09-26 | expose a low-level variant of fd_install() for binder | Al Viro | 1 | -2/+14 |
2012-09-26 | move put_unused_fd() and fd_install() to fs/file.c | Al Viro | 1 | -0/+44 |
2012-09-26 | trim free_fdtable_rcu() | Al Viro | 1 | -15/+2 |
2012-09-26 | don't bother with call_rcu() in put_files_struct() | Al Viro | 1 | -9/+5 |
2012-09-26 | move files_struct-related bits from kernel/exit.c to fs/file.c | Al Viro | 1 | -1/+99 |
2012-09-26 | new helper: __alloc_fd() | Al Viro | 1 | -4/+8 |
2012-09-26 | take rlimit check to callers of expand_files() | Al Viro | 1 | -7/+9 |
2012-09-26 | make get_unused_fd_flags() a function | Al Viro | 1 | -3/+3 |
2012-03-29 | Merge branch 'x86-x32-for-linus' of git://git.kernel.org/pub/scm/linux/kernel... | Linus Torvalds | 1 | -27/+25 |
2012-02-28 | fs: reduce the use of module.h wherever possible | Paul Gortmaker | 1 | -1/+1 |
2012-02-23 | fs: Fix close_on_exec pointer in alloc_fdtable | Bobby Powers | 1 | -1/+1 |
2012-02-19 | Replace the fd_sets in struct fdtable with an array of unsigned longs | David Howells | 1 | -24/+22 |
2012-02-19 | Wrap accesses to the fd_sets in struct fdtable | David Howells | 1 | -4/+4 |
2011-04-28 | vfs: avoid large kmalloc()s for the fdtable | Andrew Morton | 1 | -7/+11 |
2010-08-11 | vfs: use kmalloc() to allocate fdmem if possible | Changli Gao | 1 | -34/+23 |
2010-06-14 | fs: remove all rcu head initializations, except on_stack initializations | Paul E. McKenney | 1 | -3/+0 |
2010-03-06 | fs: use rlimit helpers | Jiri Slaby | 1 | -1/+1 |
2010-02-25 | vfs: Apply lockdep-based checking to rcu_dereference() uses | Paul E. McKenney | 1 | -1/+1 |
2009-10-11 | headers: remove sched.h from interrupt.h | Alexey Dobriyan | 1 | -0/+1 |
2008-08-01 | [PATCH] merge locate_fd() and get_unused_fd() | Al Viro | 1 | -0/+61 |
2008-07-26 | [PATCH] fix RLIM_NOFILE handling | Al Viro | 1 | -0/+9 |
2008-05-16 | [PATCH] avoid multiplication overflows and signedness issues for max_fds | Al Viro | 1 | -0/+4 |
2008-05-16 | [PATCH] dup_fd() part 4 - race fix | Al Viro | 1 | -2/+8 |
2008-05-16 | [PATCH] dup_fd() - part 3 | Al Viro | 1 | -28/+15 |
2008-05-16 | [PATCH] dup_fd() part 2 | Al Viro | 1 | -8/+16 |
2008-05-16 | [PATCH] dup_fd() fixes, part 1 | Al Viro | 1 | -0/+130 |
2008-05-16 | [PATCH] take init_files to fs/file.c | Al Viro | 1 | -0/+13 |
2008-05-01 | [PATCH] fix sysctl_nr_open bugs | Al Viro | 1 | -2/+20 |
2008-05-01 | [PATCH] split linux/file.h | Al Viro | 1 | -0/+1 |
2008-02-06 | get rid of NR_OPEN and introduce a sysctl_nr_open | Eric Dumazet | 1 | -3/+5 |
2006-12-22 | [PATCH] fdtable: Provide free_fdtable() wrapper | Vadim Lobanov | 1 | -1/+1 |
2006-12-10 | [PATCH] fdtable: Implement new pagesize-based fdtable allocator | Vadim Lobanov | 1 | -136/+72 |
2006-12-10 | [PATCH] fdtable: Remove the free_files field | Vadim Lobanov | 1 | -19/+8 |
2006-12-10 | [PATCH] fdtable: Make fdarray and fdsets equal in size | Vadim Lobanov | 1 | -34/+22 |
2006-12-07 | [PATCH] file: kill unnecessary timer in fdtable_defer | Tejun Heo | 1 | -27/+2 |
2006-11-22 | WorkStruct: Pass the work_struct pointer instead of context data | David Howells | 1 | -2/+4 |
2006-09-29 | [PATCH] expand_fdtable(): remove pointless unlock+lock | Andrew Morton | 1 | -2/+0 |
2006-09-29 | [PATCH] Clean up expand_fdtable() and expand_files() | Vadim Lobanov | 1 | -41/+35 |
2006-09-27 | [PATCH] alloc_fdtable() cleanup | Andrew Morton | 1 | -4/+2 |
2006-07-12 | [PATCH] alloc_fdtable() expansion fix | Andrew Morton | 1 | -1/+1 |
2006-07-12 | [PATCH] fix fdset leakage | Kirill Korotaev | 1 | -1/+3 |
2006-07-10 | [PATCH] fix weird logic in alloc_fdtable() | Andrew Morton | 1 | -7/+3 |
2006-03-28 | [PATCH] for_each_possible_cpu: fixes for generic part | KAMEZAWA Hiroyuki | 1 | -1/+1 |
2006-03-23 | [PATCH] Shrinks sizeof(files_struct) and better layout | Eric Dumazet | 1 | -20/+14 |
2006-02-05 | [PATCH] percpu data: only iterate over possible CPUs | Eric Dumazet | 1 | -2/+1 |
2005-09-14 | [PATCH] Fix the fdtable freeing in the case of vmalloced fdset/arrays | Dipankar Sarma | 1 | -7/+3 |
2005-09-09 | [PATCH] files: files struct with RCU | Dipankar Sarma | 1 | -131/+258 |
2005-09-09 | [PATCH] files: break up files struct | Dipankar Sarma | 1 | -17/+25 |
2005-04-16 | Linux-2.6.12-rc2v2.6.12-rc2 | Linus Torvalds | 1 | -0/+254 |