aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fcntl.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-11Merge tag 'vfs-6.9.iomap' of git://git.kernel.org/pub/scm/linux/kernel/git/vf...Linus Torvalds1-24/+40
2024-02-12fs: prefer kfree_rcu() in fasync_remove_entry()Dmitry Antipov1-7/+1
2024-02-06fs: Propagate write hints to the struct block_device inodeBart Van Assche1-0/+7
2024-02-06fs: Move enum rw_hint into a new header fileBart Van Assche1-0/+1
2024-02-06fs: Split fcntl_rw_hint()Bart Van Assche1-21/+24
2024-02-06fs: Verify write lifetime constants at compile timeBart Van Assche1-0/+7
2024-02-06fs: Fix rw_hint validationBart Van Assche1-7/+5
2023-10-18treewide: mark stuff as __ro_after_initAlexey Dobriyan1-1/+1
2023-07-10fcntl: Cast commands with int args explicitlyLuca Vizzarro1-14/+15
2023-02-20Merge tag 'fs.idmapped.v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+1
2023-01-19fs: port inode_owner_or_capable() to mnt_idmapChristian Brauner1-1/+1
2023-01-11filelock: move file locking definitions to separate header fileJeff Layton1-0/+1
2022-06-10keep iocb_flags() result cached in struct fileAl Viro1-0/+1
2022-05-09VFS: add FMODE_CAN_ODIRECT file flagNeilBrown1-5/+4
2022-03-08fs: remove fs.f_write_hintChristoph Hellwig1-18/+0
2021-09-03Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+2
2021-09-03memcg: enable accounting for fasync_cacheVasily Averin1-1/+2
2021-08-21fcntl: fix potential deadlock for &fasync_struct.fa_lockDesmond Cheong Zhi Xi1-2/+3
2021-08-21fcntl: fix potential deadlocks for &fown_struct.lockDesmond Cheong Zhi Xi1-6/+7
2021-07-12fcntl: Fix unreachable code in do_fcntl()Gustavo A. R. Silva1-1/+1
2021-02-23Merge tag 'idmapped-mounts-v5.12' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+2
2021-02-08fcntl: make F_GETOWN(EX) return 0 on dead owner taskPavel Tikhomirov1-6/+13
2021-01-24fcntl: handle idmapped mountsChristian Brauner1-1/+2
2021-01-24inode: make init and permission helpers idmapped mount awareChristian Brauner1-1/+1
2020-11-05fcntl: Fix potential deadlock in send_sig{io, urg}()Boqun Feng1-4/+6
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-2/+2
2020-03-03fcntl: Distribute switch variables for initializationKees Cook1-2/+4
2019-12-08Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+1
2019-10-25fcntl: fix typo in RWH_WRITE_LIFE_NOT_SET r/w hint nameEugene Syromiatnikov1-1/+1
2019-10-21fs/fnctl: fix missing __user in fcntl_rw_hint()Ben Dooks1-1/+1
2019-04-08fs: mark expected switch fall-throughsGustavo A. R. Silva1-1/+1
2018-10-03signal: Distinguish between kernel_siginfo and siginfoEric W. Biederman1-1/+1
2018-08-15signal: Don't send signals to tasks that don't existEric W. Biederman1-2/+4
2018-07-21signal: Pass pid type into do_send_sig_infoEric W. Biederman1-3/+3
2018-07-21signal: Pass pid type into send_sigio_to_task & send_sigurg_to_taskEric W. Biederman1-17/+9
2018-07-21signal: Use PIDTYPE_TGID to clearly store where file signals will be sentEric W. Biederman1-22/+32
2018-06-07mm: restructure memfd codeMike Kravetz1-1/+1
2018-05-01fasync: Fix deadlock between task-context and interrupt-context kill_fasync()Kirill Tkhai1-8/+7
2018-04-02fs: add do_compat_fcntl64() helper; remove in-kernel call to compat syscallDominik Brodowski1-3/+9
2018-02-11vfs: do bulk POLL* -> EPOLL* replacementLinus Torvalds1-6/+6
2018-02-11Merge branch 'work.poll2' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-1/+1
2018-02-01use linux/poll.h instead of asm/poll.hAl Viro1-1/+1
2018-01-31shmem: rename functions that are memfd-relatedMarc-André Lureau1-1/+1
2018-01-30Merge branch 'misc.poll' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-2/+2
2018-01-12signal: Ensure generic siginfos the kernel sends have all bits initializedEric W. Biederman1-0/+1
2017-11-29make kernel-side POLL... arch-independentAl Viro1-1/+1
2017-11-28->si_band gets POLL... bitmap stored into a user-visible long fieldAl Viro1-2/+2
2017-11-15fcntl: don't cap l_start and l_end values for F_GETLK64 in compat syscallJeff Layton1-6/+5
2017-11-15fcntl: don't leak fd reference when fixup_compat_flock failsJeff Layton1-3/+2
2017-11-07Merge branch 'linus' into locking/core, to resolve conflictsIngo Molnar1-0/+1
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-10-25locking/atomics: COCCINELLE/treewide: Convert trivial ACCESS_ONCE() patterns ...Mark Rutland1-1/+1
2017-09-18fcntl: Don't set si_code to SI_SIGIO when sig == SIGPOLLEric W. Biederman1-1/+1
2017-07-24fcntl: Don't use ambiguous SIG_POLL si_codesEric W. Biederman1-1/+12
2017-07-07vfs: fix flock compat thinkoLinus Torvalds1-15/+15
2017-07-05Merge branch 'work.misc-set_fs' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-93/+138
2017-06-28fs/fcntl: use copy_to/from_user() for u64 typesJens Axboe1-4/+9
2017-06-27fs: add fcntl() interface for setting/getting write life time hintsJens Axboe1-0/+62
2017-06-26Switch flock copyin/copyout primitives to copy_{from,to}_user()Al Viro1-30/+29
2017-06-14fs/fcntl: return -ESRCH in f_setown when pid/pgid can't be foundJeff Layton1-5/+13
2017-06-14fs/fcntl: f_setown, avoid undefined behaviourJiri Slaby1-0/+4
2017-06-14fs/fcntl: f_setown, allow returning errorJiri Slaby1-3/+4
2017-06-01fs/locks: don't mess with the address limit in compat_fcntl64Christoph Hellwig1-51/+67
2017-05-27fs/locks: pass kernel struct flock to fcntl_getlk/setlkChristoph Hellwig1-5/+22
2017-05-09Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-10/+4
2017-04-27fs: add a VALID_OPEN_FLAGSChristoph Hellwig1-10/+4
2017-04-17fcntl: move compat syscalls from compat.cAl Viro1-0/+157
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-12-04don't open-code file_inode()Al Viro1-1/+1
2016-01-09fcntl: allow to set O_DIRECT flag on pipeStanislav Kinsburskiy1-1/+2
2015-01-08vfs: renumber FMODE_NONOTIFY and add to uniqueness checkDavid Drysdale1-2/+3
2014-09-09security: make security_file_set_fowner, f_setown and __f_setown void returnJeff Layton1-14/+7
2014-08-08shm: add sealing APIDavid Herrmann1-0/+5
2014-04-22locks: rename file-private locks to "open file description locks"Jeff Layton1-6/+6
2014-03-31locks: add new fcntl cmd values for handling file private locksJeff Layton1-11/+24
2014-03-31locks: pass the cmd value to fcntl_getlk/getlk64Jeff Layton1-2/+2
2013-10-24file->f_op is never NULL...Al Viro1-3/+2
2013-08-05vfs: add missing check for __O_TMPFILE in fcntl_init()Zheng Liu1-2/+2
2013-02-22new helper: file_inode(file)Al Viro1-1/+1
2012-10-09Fix F_DUPFD_CLOEXEC breakageAl Viro1-1/+1
2012-09-26fcntl: fix misannotationsAl Viro1-3/+3
2012-09-26switch simple cases of fget_light to fdgetAl Viro1-18/+14
2012-09-26take purely descriptor-related stuff from fcntl.c to file.cAl Viro1-128/+3
2012-09-26take rlimit check to callers of expand_files()Al Viro1-0/+3
2012-07-30c/r: fcntl: add F_GETOWNER_UIDS optionCyrill Gorcunov1-0/+29
2012-05-29switch fcntl to fget_raw_light/fput_lightAl Viro1-25/+17
2012-05-03userns: Use uid_eq gid_eq helpers when comparing kuids and kgids in the vfsEric W. Biederman1-3/+3
2012-02-19Wrap accesses to the fd_sets in struct fdtableDavid Howells1-9/+9
2011-03-23userns: rename is_owner_or_cap to inode_owner_or_capableSerge E. Hallyn1-1/+1
2011-03-15New kind of open files - "location only".Al Viro1-5/+32
2011-02-02vfs: sparse: add __FMODE_EXECNamhyung Kim1-1/+1
2010-10-27fasync: Fix placement of FASYNC flag commentLinus Torvalds1-3/+3
2010-10-27fasync: re-organize fasync entry insertion to allow it under a spinlockLinus Torvalds1-16/+50
2010-09-09vfs: take O_NONBLOCK out of the O_* uniqueness testJames Bottomley1-3/+7
2010-08-11vfs: O_* bit numbers uniqueness checkWu Fengguang1-2/+13
2010-06-29fs/fcntl.c:kill_fasync_rcu() fa_lock must be IRQ-safeAndrew Morton1-2/+4
2010-06-04fcntl: return -EFAULT if copy_to_user failsDan Carpenter1-2/+5
2010-05-21Merge branch 'master' into for-2.6.35Jens Axboe1-24/+42
2010-05-21pipe: add support for shrinking and growing pipesJens Axboe1-0/+5
2010-04-21fasync: RCU and fine grained lockingEric Dumazet1-24/+42
2010-03-06fs: use rlimit helpersJiri Slaby1-1/+1
2010-02-07Fix race in tty_fasync() properlyLinus Torvalds1-4/+2
2010-01-26fnctl: f_modown should call write_lock_irqsave/restoreGreg Kroah-Hartman1-2/+4
2009-12-16fasync: split 'fasync_helper()' into separate add/remove functionsLinus Torvalds1-36/+66
2009-11-17fcntl: rename F_OWNER_GID to F_OWNER_PGRPPeter Zijlstra1-2/+2
2009-09-24fcntl: add F_[SG]ETOWN_EXPeter Zijlstra1-8/+100
2009-09-24signals: send_sigio: use do_send_sig_info() to avoid check_kill_permission()Oleg Nesterov1-2/+2
2009-07-12headers: smp_lock.h reduxAlexey Dobriyan1-1/+0
2009-06-16send_sigio_to_task: sanitize the usage of fown->signumOleg Nesterov1-5/+11
2009-06-16shift current_cred() from __f_setown() to f_modown()Oleg Nesterov1-7/+10
2009-05-11dup2: Fix return value with oldfd == newfd and invalid fdJeff Mahoney1-2/+4
2009-03-30Fix a lockdep warning in fasync_helper()Jonathan Corbet1-3/+7
2009-03-16Rationalize fasync return valuesJonathan Corbet1-0/+2
2009-03-16Move FASYNC bit handling to f_op->fasync()Jonathan Corbet1-13/+16
2009-03-16Use f_lock to protect f_flagsJonathan Corbet1-0/+2
2009-01-14[CVE-2009-0029] System call wrappers part 15Heiko Carstens1-5/+6
2008-12-25Merge branch 'next' into for-linusJames Morris1-5/+13
2008-12-05Fix a race condition in FASYNC handlingJonathan Corbet1-0/+7
2008-11-14CRED: Use RCU to access another task's creds and to release a task's own credsDavid Howells1-4/+11
2008-11-14CRED: Wrap current->cred and a few other accessorsDavid Howells1-1/+2
2008-11-14CRED: Separate task security context from task_structDavid Howells1-2/+2
2008-11-14CRED: Wrap task credential accesses in the filesystem subsystemDavid Howells1-1/+1
2008-08-01[PATCH] clean dup2() up a bitAl Viro1-26/+27
2008-08-01[PATCH] merge locate_fd() and get_unused_fd()Al Viro1-73/+14
2008-07-26[PATCH] fix RLIM_NOFILE handlingAl Viro1-12/+6
2008-07-26[PATCH] get rid of corner case in dup3() entirelyAl Viro1-9/+11
2008-07-26[PATCH] dup3 fixUlrich Drepper1-1/+6
2008-07-24flag parameters: dup2Ulrich Drepper1-2/+13
2008-07-02Call fasync() functions without the BKLJonathan Corbet1-3/+0
2008-05-01[PATCH] split linux/file.hAl Viro1-0/+1
2008-04-25[PATCH] sanitize locate_fd()Al Viro1-26/+14
2008-02-08fs: remove fastcall, it is always emptyHarvey Harrison1-1/+1
2008-02-08Pidns: make full use of xxx_vnr() callsPavel Emelyanov1-1/+1
2007-10-19pid namespaces: changes to show virtual ids to userPavel Emelyanov1-2/+3
2007-10-17F_DUPFD_CLOEXEC implementationUlrich Drepper1-4/+8
2007-07-20mm: Remove slab destructors from kmem_cache_create().Paul Mundt1-1/+1
2007-07-17Introduce is_owner_or_cap() to wrap CAP_FOWNER use with fsuid checkSatyam Sharma1-1/+1
2006-12-10[PATCH] fdtable: Make fdarray and fdsets equal in sizeVadim Lobanov1-3/+2
2006-12-08[PATCH] VFS: change struct file to use struct pathJosef "Jeff" Sipek1-1/+1
2006-12-07[PATCH] slab: remove kmem_cache_tChristoph Lameter1-1/+1
2006-12-07[PATCH] slab: remove SLAB_KERNELChristoph Lameter1-1/+1
2006-10-02[PATCH] file: Add locking to f_getownEric W. Biederman1-0/+2
2006-10-02[PATCH] file: modify struct fown_struct to use a struct pidEric W. Biederman1-28/+49
2006-04-02BUG_ON() Conversion in fs/fcntl.cEric Sesterhenn1-2/+1
2006-03-26[PATCH] Use __read_mostly on some hot fs variablesEric Dumazet1-2/+2
2006-03-23[PATCH] Shrinks sizeof(files_struct) and better layoutEric Dumazet1-5/+4
2006-02-03[PATCH] fcntl F_SETFL and read-only IS_APPEND filesdean gaudet1-2/+5
2006-01-14[PATCH] Unlinline a bunch of other functionsArjan van de Ven1-1/+1
2006-01-11[PATCH] capable/capability.h (fs/)Randy Dunlap1-0/+1
2006-01-08[PATCH] sigio: cleanup, don't take tasklist twiceOleg Nesterov1-3/+3
2005-09-09[PATCH] files: lock-free fd look-upDipankar Sarma1-2/+2
2005-09-09[PATCH] files: files struct with RCUDipankar Sarma1-3/+10
2005-09-09[PATCH] files: break up files structDipankar Sarma1-18/+29
2005-07-27[PATCH] stale POSIX lock handlingPeter Staubach1-2/+3
2005-05-01[PATCH] convert that currently tests _NSIG directly to use valid_signal()Jesper Juhl1-1/+2
2005-04-16[PATCH] AYSNC IO using singals other than SIGIOBharath Ramesh1-1/+1
2005-04-16Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds1-0/+601