aboutsummaryrefslogtreecommitdiffstats
path: root/fs/open.c
AgeCommit message (Expand)AuthorFilesLines
2015-02-17Merge branch 'getname2' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds1-2/+8
2015-02-16vfs: remove get_xip_memMatthew Wilcox1-4/+1
2015-01-23fs: create proper filename objects using getname_kernel()Paul Moore1-2/+8
2014-12-16Merge branch 'for-3.19' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-2/+3
2014-12-13fallocate: create FAN_MODIFY and IN_MODIFY eventsHeinrich Schuchardt1-0/+11
2014-11-19new helper: audit_file()Al Viro1-2/+2
2014-11-19merge nfs bugfixes into nfsd for-3.19 branchJ. Bruce Fields1-2/+21
2014-11-07VFS: Rename do_fallocate() to vfs_fallocate()Anna Schumaker1-2/+3
2014-10-24vfs: add i_op->dentry_open()Miklos Szeredi1-2/+21
2014-08-01vfs: fix check for fallocate on active swapfileEric Biggers1-3/+2
2014-05-06new methods: ->read_iter() and ->write_iter()Al Viro1-2/+4
2014-05-06replace checking for ->read/->aio_read presence with check in ->f_modeAl Viro1-0/+4
2014-04-20Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-12/+9
2014-04-12Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-52/+16
2014-04-12fs: disallow all fallocate operation on active swapfileLukas Czerner1-0/+7
2014-04-12fs: move falloc collapse range check into the filesystem methodsLukas Czerner1-8/+0
2014-04-12fs: prevent doing FALLOC_FL_ZERO_RANGE on append only fileLukas Czerner1-4/+2
2014-04-04Merge tag 'xfs-for-linus-3.15-rc1' of git://oss.sgi.com/xfs/xfsLinus Torvalds1-3/+26
2014-04-01tidy do_dentry_open() up a bitAl Viro1-12/+10
2014-04-01mark struct file that had write access grabbed by open()Al Viro1-5/+4
2014-04-01fold __get_file_write_access() into its only callerAl Viro1-19/+6
2014-04-01get rid of DEBUG_WRITECOUNTAl Viro1-8/+0
2014-04-01don't bother with {get,put}_write_access() on non-regular filesAl Viro1-19/+7
2014-03-13fs: Introduce FALLOC_FL_ZERO_RANGE flag for fallocateLukas Czerner1-1/+6
2014-03-10vfs: atomic f_pos accesses as per POSIXLinus Torvalds1-0/+4
2014-02-24fs: Add new flag(FALLOC_FL_COLLAPSE_RANGE) for fallocateNamjae Jeon1-3/+21
2013-11-09locks: break delegations on any attribute modificationJ. Bruce Fields1-4/+18
2013-11-09get rid of s_files and files_lockAl Viro1-2/+0
2013-10-24file->f_op is never NULL...Al Viro1-2/+6
2013-09-16vfs: improve i_op->atomic_open() documentationMiklos Szeredi1-3/+18
2013-09-07Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-1/+1
2013-09-03switch fchmod() to fdgetAl Viro1-6/+5
2013-08-30userns: Kill nsown_capable it makes the wrong thing easyEric W. Biederman1-1/+1
2013-08-05fs: Fix file mode for O_TMPFILEAndy Lutomirski1-1/+1
2013-07-20allow O_TMPFILE to work with O_WRONLYAl Viro1-0/+2
2013-07-13Safer ABI for O_TMPFILEAl Viro1-2/+2
2013-06-29[O_TMPFILE] it's still short a few helpers, but infrastructure should be OK n...Al Viro1-5/+9
2013-06-29allow build_open_flags() to return an errorAl Viro1-21/+28
2013-03-03make SYSCALL_DEFINE<n>-generated wrappers do asmlinkage_protectAl Viro1-20/+4
2013-03-03teach SYSCALL_DEFINE<n> how to deal with long long/unsigned long longAl Viro1-25/+3
2013-03-03Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+2
2013-03-02Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-0/+15
2013-03-01cache the value of file_inode() in struct fileAl Viro1-1/+2
2013-02-26get_empty_filp()/alloc_file() leave both ->f_pos and ->f_version zeroAl Viro1-1/+0
2013-02-25fix compat truncate/ftruncateAl Viro1-0/+15
2013-02-22propagate error from get_empty_filp() to its callersAl Viro1-14/+13
2013-02-22new helper: file_inode(file)Al Viro1-3/+3
2012-12-20vfs: make fchownat retry once on ESTALE errorsJeff Layton1-0/+5
2012-12-20vfs: make fchmodat retry once on ESTALE errorsJeff Layton1-2/+7
2012-12-20vfs: have chroot retry once on ESTALE errorJeff Layton1-2/+7
2012-12-20vfs: have chdir retry lookup and call once on ESTALE errorJeff Layton1-2/+7
2012-12-20vfs: have faccessat retry once on an ESTALE errorJeff Layton1-2/+7
2012-12-20vfs: have do_sys_truncate retry once on an ESTALE errorJeff Layton1-1/+7
2012-12-20VFS: Make more complete truncate operation available to CacheFilesDavid Howells1-23/+27
2012-11-19vfs: Allow chroot if you have CAP_SYS_CHROOT in your user namespaceEric W. Biederman1-1/+1
2012-10-12vfs: make path_openat take a struct filename pointerJeff Layton1-4/+21
2012-10-12vfs: define struct filename and have getname() return itJeff Layton1-2/+2
2012-10-12audit: set the name_len in audit_inode for parent lookupsJeff Layton1-2/+2
2012-10-02Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-100/+30
2012-10-02Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-1/+1
2012-09-26switch simple cases of fget_light to fdgetAl Viro1-34/+30
2012-09-26switch fchmod(2) to fget_light()Al Viro1-7/+5
2012-09-26switch fallocate(2) to fget_light()Al Viro1-3/+3
2012-09-26switch ftruncate(2) to fget_lightAl Viro1-5/+5
2012-09-26don't leak O_CLOEXEC into ->f_flagsAl Viro1-1/+1
2012-09-26take descriptor-related part of close() to file.cAl Viro1-21/+1
2012-09-26move put_unused_fd() and fd_install() to fs/file.cAl Viro1-44/+0
2012-09-21userns: Teach security_path_chown to take kuids and kgidsEric W. Biederman1-1/+1
2012-08-15vfs: canonicalize create mode in build_open_flags()Miklos Szeredi1-3/+4
2012-08-04missed mnt_drop_write() in do_dentry_open()Al Viro1-1/+1
2012-07-31fs: Protect write paths by sb_start_write - sb_end_writeJan Kara1-1/+6
2012-07-31fs: Add freezing handling to mnt_want_write() / mnt_drop_write()Jan Kara1-1/+1
2012-07-29take grabbing f->f_path to do_dentry_open()Al Viro1-4/+2
2012-07-23switch dentry_open() to struct path, make it grab references itselfAl Viro1-12/+5
2012-07-14VFS: Make chown() and lchown() call fchownat()David Howells1-34/+7
2012-07-14do_dentry_open(): close the race with mark_files_ro() in failure exitAl Viro1-1/+1
2012-07-14do_dentry_open(): take initialization of file->f_path to callerAl Viro1-14/+12
2012-07-14fold __dentry_open() into its sole callerAl Viro1-21/+12
2012-07-14switch do_dentry_open() to returning intAl Viro1-20/+20
2012-07-14make finish_no_open() return intAl Viro1-1/+2
2012-07-14kill struct opendataAl Viro1-9/+11
2012-07-14kill opendata->{mnt,dentry}Al Viro1-3/+3
2012-07-14don't modify od->filp at allAl Viro1-3/+2
2012-07-14->atomic_open() prototype change - pass int * instead of bool *Al Viro1-2/+5
2012-07-14vfs: remove open intents from nameidataMiklos Szeredi1-85/+2
2012-07-14vfs: add i_op->atomic_open()Miklos Szeredi1-0/+42
2012-07-07vfs: make O_PATH file descriptors usable for 'fchdir()'Linus Torvalds1-3/+3
2012-06-01vfs: nameidata_to_filp(): don't throw away file on errorMiklos Szeredi1-3/+5
2012-06-01vfs: nameidata_to_filp(): inline __dentry_open()Miklos Szeredi1-2/+18
2012-06-01vfs: do_dentry_open(): don't put filpMiklos Szeredi1-1/+2
2012-06-01vfs: split __dentry_open()Miklos Szeredi1-14/+33
2012-05-23Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-3/+13
2012-05-03userns: Convert user specfied uids and gids in chown into kuids and kgidEric W. Biederman1-2/+11
2012-05-03userns: Convert capabilities related permsion checksEric W. Biederman1-1/+2
2012-04-09SELinux: rename dentry_open to file_openEric Paris1-1/+1
2012-02-19Wrap accesses to the fd_sets in struct fdtableDavid Howells1-2/+2
2012-01-06switch security_path_chmod() to struct path *Al Viro1-1/+1
2012-01-03switch open and mkdir syscalls to umode_tAl Viro1-6/+6
2012-01-03switch sys_chmod()/sys_fchmod()/sys_fchmodat() to umode_tAl Viro1-3/+3
2012-01-03vfs: mnt_drop_write_file()Al Viro1-1/+1
2011-10-28leases: fix write-open/read-lease raceJ. Bruce Fields1-0/+4
2011-07-26merge fchmod() and fchmodat() guts, kill ancient broken kludgeAl Viro1-50/+28
2011-07-22vfs: use ERR_CAST for err-ptr tossing in lookup_instantiate_filpKonstantin Khlebnikov1-1/+1
2011-03-21fs: Use BUG_ON(!mnt) at dentry_open().Tetsuo Handa1-11/+2
2011-03-16Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmo...Linus Torvalds1-1/+2
2011-03-16Merge branch 'next' into for-linusJames Morris1-1/+2
2011-03-15readlinkat(), fchownat() and fstatat() with empty relative pathnamesAl Viro1-4/+6
2011-03-15New kind of open files - "location only".Al Viro1-6/+29
2011-03-14open-style analog of vfs_path_lookup()Al Viro1-0/+14
2011-03-14switch do_filp_open() to struct open_flagsAl Viro1-1/+72
2011-03-10Check for immutable/append flag in fallocate pathMarco Stornelli1-0/+8
2011-03-08Merge branch 'master'; commit 'v2.6.38-rc7' into nextJames Morris1-3/+10
2011-02-11Fix possible filp_cachep memory corruptionLinus Torvalds1-0/+2
2011-02-10IMA: maintain i_readcount in the VFS layerMimi Zohar1-1/+2
2011-01-17fallocate should be a file operationChristoph Hellwig1-2/+2
2011-01-12fs: add hole punching to fallocateJosef Bacik1-1/+6
2010-10-29fix open/umount raceAl Viro1-3/+3
2010-08-18fs: cleanup files_lock lockingNick Piggin1-2/+2
2010-08-11vfs: clarify that nonseekable_open() will never failDmitry Torokhov1-1/+3
2010-08-10Merge branch 'for-linus' of git://git.infradead.org/users/eparis/notifyLinus Torvalds1-1/+2
2010-08-02vfs: re-introduce MAY_CHDIREric Paris1-3/+3
2010-08-02LSM: Remove unused arguments from security_path_truncate().Tetsuo Handa1-3/+2
2010-07-28fsnotify: pass a file instead of an inode to open, read, and writeEric Paris1-1/+1
2010-07-28inotify: remove inotify in kernel interfaceEric Paris1-0/+1
2010-05-21Take statfs variants to fs/statfs.cAl Viro1-166/+0
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-1/+1
2010-03-05Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jac...Linus Torvalds1-4/+1
2010-03-05dquot: move dquot initialization responsibility into the filesystemChristoph Hellwig1-4/+1
2010-03-03Switch may_open() and break_lease() to passing O_...Al Viro1-1/+1
2009-12-22Sanitize f_flags helpersAl Viro1-1/+1
2009-12-22Fix f_flags/f_mode in case of lookup_instantiate_filp() from open(pathname, 3)Al Viro1-7/+6
2009-12-16Untangling ima mess, part 2: deal with countersAl Viro1-0/+2
2009-12-16fs: move get_empty_filp() deffinition to internal.hEric Paris1-0/+2
2009-11-24LSM: Move security_path_chmod()/security_path_chown() to after mutex_lock().Tetsuo Handa1-21/+15
2009-10-12LSM: Add security_path_chroot().Tetsuo Handa1-0/+3
2009-10-12LSM: Add security_path_chmod() and security_path_chown().Tetsuo Handa1-4/+20
2009-09-23fs: change sys_truncate length parameter typeHeiko Carstens1-3/+2
2009-09-02CRED: Add some configurable debugging [try #6]David Howells1-0/+2
2009-08-21vfs: allow file truncations when both suid and write permissions setAmerigo Wang1-4/+6
2009-06-24fs: Add new pre-allocation ioctls to vfs for compatibility with legacy xfs io...Ankit Jain1-29/+29
2009-06-11fs: introduce mnt_clone_writenpiggin@suse.de1-2/+2
2009-05-09Switch open_exec() and sys_uselib() to do_open_filp()Al Viro1-1/+1
2009-03-31Get rid of indirect include of fs_struct.hAl Viro1-0/+1
2009-03-26vfs: Use lowercase names of quota functionsJan Kara1-1/+1
2009-01-14[CVE-2009-0029] System call wrappers part 30Heiko Carstens1-7/+6
2009-01-14[CVE-2009-0029] System call wrappers part 20Heiko Carstens1-2/+2
2009-01-14[CVE-2009-0029] System call wrappers part 17Heiko Carstens1-9/+7
2009-01-14[CVE-2009-0029] System call wrappers part 16Heiko Carstens1-1/+1
2009-01-14[CVE-2009-0029] System call wrappers part 15Heiko Carstens1-2/+2
2009-01-14[CVE-2009-0029] System call wrappers part 14Heiko Carstens1-1/+1
2009-01-14[CVE-2009-0029] System call wrappers part 11Heiko Carstens1-1/+1
2009-01-14[CVE-2009-0029] System call wrappers part 10Heiko Carstens1-7/+5
2009-01-14[CVE-2009-0029] System call wrapper special casesHeiko Carstens1-3/+24
2009-01-05inode->i_op is never NULLAl Viro1-1/+1
2008-12-31introduce new LSM hooks where vfsmount is available.Kentaro Takeda1-0/+5
2008-11-14CRED: Inaugurate COW credentialsDavid Howells1-16/+15
2008-11-14CRED: Pass credentials through dentry_open()David Howells1-6/+11
2008-11-14CRED: Separate task security context from task_structDavid Howells1-8/+9
2008-11-14CRED: Neuter sys_capset()David Howells1-11/+1
2008-10-21[PATCH] introduce fmode_t, do annotationsAl Viro1-1/+1
2008-10-13tty: the vhangup syscall is racyAlan Cox1-2/+1
2008-08-01[PATCH] merge locate_fd() and get_unused_fd()Al Viro1-56/+0
2008-07-26[PATCH] fix RLIM_NOFILE handlingAl Viro1-9/+0
2008-07-26[PATCH] sanitize __user_walk_fd() et.al.Al Viro1-62/+62
2008-07-26[PATCH] preparation to __user_walk_fd cleanupAl Viro1-8/+10
2008-07-26[PATCH] take noexec checks to very few callers that careAl Viro1-0/+10
2008-07-26[patch 4/4] vfs: immutable inode checking cleanupMiklos Szeredi1-22/+2
2008-07-26[PATCH] fix MAY_CHDIR/MAY_ACCESS/LOOKUP_ACCESS messAl Viro1-5/+5
2008-07-26[PATCH] kill altrootAl Viro1-2/+1
2008-07-26[PATCH] permission checks for chdir need special treatment only on the last stepAl Viro1-3/+2
2008-07-26[patch 1/5] vfs: truncate: dont check immutable twiceMiklos Szeredi1-1/+1
2008-07-24fs: check for statfs overflowJon Tollefson1-1/+2
2008-07-04security: filesystem capabilities: fix fragile setuid fixup codeAndrew G. Morgan1-15/+22
2008-05-01[PATCH] split linux/file.hAl Viro1-0/+1
2008-04-28xip: support non-struct page backed memoryNick Piggin1-1/+1
2008-04-19[PATCH] r/o bind mounts: debugging for missed callsDave Hansen1-1/+11
2008-04-19[PATCH] r/o bind mounts: make access() use new r/o helperDave Hansen1-2/+11
2008-04-19[PATCH] r/o bind mounts: write counts for truncate()Dave Hansen1-6/+8
2008-04-19[PATCH] r/o bind mounts: elevate write count for chmod/chown callersDave Hansen1-9/+30
2008-04-19[PATCH] r/o bind mounts: elevate write count for open()sDave Hansen1-2/+34
2008-04-19[PATCH] merge open_namei() and do_filp_open()Christoph Hellwig1-19/+0
2008-04-19[PATCH] do namei_flags calculation inside open_namei()Dave Hansen1-20/+2
2008-04-10asmlinkage_protect replaces prevent_tail_callRoland McGrath1-4/+4
2008-03-19[PATCH] check for null vfsmount in dentry_open()Christoph Hellwig1-0/+12
2008-02-14Make set_fs_{root,pwd} take a struct pathJan Blunck1-8/+4
2008-02-14Introduce path_put()Jan Blunck1-11/+11
2008-02-14Embed a struct path into struct nameidata instead of nd->{dentry,mnt}Jan Blunck1-15/+16
2008-02-08remove the unused exports of sys_open/sys_readArjan van de Ven1-1/+0
2008-02-08fs: remove fastcall, it is always emptyHarvey Harrison1-2/+2
2007-11-14mark sys_open/sys_read exports unusedArjan van de Ven1-1/+1
2007-10-21[PATCH] pass dentry to audit_inode()/audit_inode_child()Al Viro1-2/+2
2007-10-17Implement file posix capabilitiesSerge E. Hallyn1-1/+2
2007-10-17fs: correct SuS compliance for open of large file without optionsAlan Cox1-1/+1
2007-10-17SELinux: Improve read/write performanceYuichi Nakamura1-0/+4
2007-07-31VFS: fix a race in lease-breaking during truncatedavid m. richter1-7/+9
2007-07-24fallocate syscall interface deficiencyUlrich Drepper1-1/+1
2007-07-17sys_fallocate() implementation on i386, x86_64 and powerpcAmit Arora1-0/+59
2007-07-16O_CLOEXEC for SCM_RIGHTSUlrich Drepper1-1/+1
2007-07-16Introduce O_CLOEXECUlrich Drepper1-3/+11
2007-05-08Remove suid/sgid bits on [f]truncate()Linus Torvalds1-0/+3