aboutsummaryrefslogtreecommitdiffstats
path: root/fs/file.c
AgeCommit message (Expand)AuthorFilesLines
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/bra...Linus 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/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-05vfs: grab the lock instead of blocking in __fd_install during resizingMateusz Guzik1-4/+7
2017-11-05vfs: stop clearing close on exec when closing a fdMateusz Guzik1-1/+0
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-07-06fs/file.c: replace alloc_fdmem() with kvmalloc() alternativeMichal Hocko1-18/+4
2017-05-08mm, vmalloc: use __GFP_HIGHMEM implicitlyMichal Hocko1-1/+1
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-1/+1
2016-09-27fs/file: more unsigned file descriptorsAlexey Dobriyan1-17/+17
2016-05-02give readdir(2)/getdents(2)/etc. uniform exclusion with lseek()Al Viro1-0/+5
2016-01-14kmemcg: account certain kmem allocations to memcgVladimir Davydov1-3/+4
2015-12-06fs/file.c: __const_max is actually __const_min :-)Rasmus Villemoes1-3/+3
2015-11-05vfs: clear remainder of 'full_fds_bits' in dup_fd()Eric Biggers1-32/+32
2015-10-31vfs: conditionally clear close-on-exec flagLinus Torvalds1-1/+2
2015-10-31vfs: Fix pathological performance case for __alloc_fd()Linus Torvalds1-4/+35
2015-07-01fs/file.c: __fget() and dup2() atomicity rulesEric Dumazet1-2/+8
2015-07-01fs/file.c: don't acquire files->file_lock in fd_install()Eric Dumazet1-19/+48
2015-04-17mm: rcu-protected get_mm_exe_file()Konstantin Khlebnikov1-2/+1
2014-12-10fs/file.c: replace get_unused_fd() with get_unused_fd_flags(0)Yann Droneaud1-1/+1
2014-10-13Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1
2014-10-09missing annotation in fs/file.cAl Viro1-0/+1
2014-09-07rcu: Provide cond_resched_rcu_qs() to force quiescent states in long loopsPaul E. McKenney1-1/+1
2014-05-06fs/file.c: don't open-code kvfree()Al Viro1-8/+3
2014-04-12Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-7/+4
2014-04-01get rid of files_defer_init()Al Viro1-7/+4
2014-03-31Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1
2014-03-23vfs: Don't let __fdget_pos() get FMODE_PATH filesEric Biggers1-15/+4
2014-03-10get rid of fget_light()Al Viro1-13/+43
2014-02-17fs: Substitute rcu_access_pointer() for rcu_dereference_raw()Paul E. McKenney1-1/+1
2014-02-10fs/file.c:fdtable: avoid triggering OOMs from alloc_fdmemEric W. Biederman1-1/+1
2014-01-25fs: __fget_light() can use __fget() in slow pathOleg Nesterov1-11/+3
2014-01-25fs: factor out common code in fget_light() and fget_raw_light()Oleg Nesterov1-24/+9
2014-01-25fs: factor out common code in fget() and fget_raw()Oleg Nesterov1-17/+8
2014-01-25change close_files() to use rcu_dereference_raw(files->fdt)Oleg Nesterov1-17/+9
2014-01-25introduce __fcheck_files() to fix rcu_dereference_check_fdtable(), kill rcu_m...Oleg Nesterov1-2/+2
2013-05-01don't bother with deferred freeing of fdtablesAl Viro1-66/+2
2013-02-19locking: Various static lock initializer fixesThomas Gleixner1-1/+1
2013-01-03misc: remove __dev* attributes.Greg Kroah-Hartman1-1/+1
2012-12-12Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-6/+0
2012-11-29fix off-by-one in argument passed by iterate_fd() to callbacksAl Viro1-6/+8
2012-11-28kill daemonize()Al Viro1-6/+0
2012-11-18Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+0
2012-11-12kill bogus BUG_ON() in do_close_on_exec()Al Viro1-1/+0
2012-10-30Return the right error value when dup[23]() newfd argument is too largeAl Viro1-2/+2
2012-10-09dup3: Return an error when oldfd == newfd.Richard W.M. Jones1-0/+3
2012-09-26export fget_lightAl Viro1-0/+1
2012-09-26new helper: daemonize_descriptors()Al Viro1-0/+6
2012-09-26new helper: iterate_fd()Al Viro1-0/+21
2012-09-26make expand_files() and alloc_fd() staticAl Viro1-2/+2
2012-09-26take __{set,clear}_{open_fd,close_on_exec}() into fs/file.cAl Viro1-0/+20
2012-09-26new helper: replace_fd()Al Viro1-29/+62
2012-09-26take purely descriptor-related stuff from fcntl.c to file.cAl Viro1-0/+132
2012-09-26take close-on-exec logics to fs/file.c, clean it up a bitAl Viro1-0/+37
2012-09-26take descriptor-related part of close() to file.cAl Viro1-0/+26
2012-09-26take fget() and friends to fs/file.cAl Viro1-0/+106
2012-09-26expose a low-level variant of fd_install() for binderAl Viro1-2/+14
2012-09-26move put_unused_fd() and fd_install() to fs/file.cAl Viro1-0/+44
2012-09-26trim free_fdtable_rcu()Al Viro1-15/+2
2012-09-26don't bother with call_rcu() in put_files_struct()Al Viro1-9/+5
2012-09-26move files_struct-related bits from kernel/exit.c to fs/file.cAl Viro1-1/+99
2012-09-26new helper: __alloc_fd()Al Viro1-4/+8
2012-09-26take rlimit check to callers of expand_files()Al Viro1-7/+9
2012-09-26make get_unused_fd_flags() a functionAl Viro1-3/+3
2012-03-29Merge branch 'x86-x32-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-27/+25
2012-02-28fs: reduce the use of module.h wherever possiblePaul Gortmaker1-1/+1
2012-02-23fs: Fix close_on_exec pointer in alloc_fdtableBobby Powers1-1/+1
2012-02-19Replace the fd_sets in struct fdtable with an array of unsigned longsDavid Howells1-24/+22
2012-02-19Wrap accesses to the fd_sets in struct fdtableDavid Howells1-4/+4
2011-04-28vfs: avoid large kmalloc()s for the fdtableAndrew Morton1-7/+11
2010-08-11vfs: use kmalloc() to allocate fdmem if possibleChangli Gao1-34/+23
2010-06-14fs: remove all rcu head initializations, except on_stack initializationsPaul E. McKenney1-3/+0
2010-03-06fs: use rlimit helpersJiri Slaby1-1/+1
2010-02-25vfs: Apply lockdep-based checking to rcu_dereference() usesPaul E. McKenney1-1/+1
2009-10-11headers: remove sched.h from interrupt.hAlexey Dobriyan1-0/+1
2008-08-01[PATCH] merge locate_fd() and get_unused_fd()Al Viro1-0/+61
2008-07-26[PATCH] fix RLIM_NOFILE handlingAl Viro1-0/+9
2008-05-16[PATCH] avoid multiplication overflows and signedness issues for max_fdsAl Viro1-0/+4
2008-05-16[PATCH] dup_fd() part 4 - race fixAl Viro1-2/+8
2008-05-16[PATCH] dup_fd() - part 3Al Viro1-28/+15
2008-05-16[PATCH] dup_fd() part 2Al Viro1-8/+16
2008-05-16[PATCH] dup_fd() fixes, part 1Al Viro1-0/+130
2008-05-16[PATCH] take init_files to fs/file.cAl Viro1-0/+13
2008-05-01[PATCH] fix sysctl_nr_open bugsAl Viro1-2/+20
2008-05-01[PATCH] split linux/file.hAl Viro1-0/+1
2008-02-06get rid of NR_OPEN and introduce a sysctl_nr_openEric Dumazet1-3/+5
2006-12-22[PATCH] fdtable: Provide free_fdtable() wrapperVadim Lobanov1-1/+1
2006-12-10[PATCH] fdtable: Implement new pagesize-based fdtable allocatorVadim Lobanov1-136/+72
2006-12-10[PATCH] fdtable: Remove the free_files fieldVadim Lobanov1-19/+8
2006-12-10[PATCH] fdtable: Make fdarray and fdsets equal in sizeVadim Lobanov1-34/+22
2006-12-07[PATCH] file: kill unnecessary timer in fdtable_deferTejun Heo1-27/+2
2006-11-22WorkStruct: Pass the work_struct pointer instead of context dataDavid Howells1-2/+4
2006-09-29[PATCH] expand_fdtable(): remove pointless unlock+lockAndrew Morton1-2/+0
2006-09-29[PATCH] Clean up expand_fdtable() and expand_files()Vadim Lobanov1-41/+35
2006-09-27[PATCH] alloc_fdtable() cleanupAndrew Morton1-4/+2
2006-07-12[PATCH] alloc_fdtable() expansion fixAndrew Morton1-1/+1
2006-07-12[PATCH] fix fdset leakageKirill Korotaev1-1/+3
2006-07-10[PATCH] fix weird logic in alloc_fdtable()Andrew Morton1-7/+3
2006-03-28[PATCH] for_each_possible_cpu: fixes for generic partKAMEZAWA Hiroyuki1-1/+1
2006-03-23[PATCH] Shrinks sizeof(files_struct) and better layoutEric Dumazet1-20/+14
2006-02-05[PATCH] percpu data: only iterate over possible CPUsEric Dumazet1-2/+1
2005-09-14[PATCH] Fix the fdtable freeing in the case of vmalloced fdset/arraysDipankar Sarma1-7/+3
2005-09-09[PATCH] files: files struct with RCUDipankar Sarma1-131/+258
2005-09-09[PATCH] files: break up files structDipankar Sarma1-17/+25
2005-04-16Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds1-0/+254