aboutsummaryrefslogtreecommitdiffstats
path: root/fs/namei.c
AgeCommit message (Expand)AuthorFilesLines
2015-02-22VFS: (Scripted) Convert S_ISLNK/DIR/REG(dentry->d_inode) to d_is_*(dentry)David Howells1-1/+1
2015-01-23audit: replace getname()/putname() hacks with reference countersPaul Moore1-15/+14
2015-01-23audit: enable filename recording via getname_kernel()Paul Moore1-0/+1
2015-01-23simpler calling conventions for filename_mountpoint()Al Viro1-16/+7
2015-01-23fs: create proper filename objects using getname_kernel()Paul Moore1-16/+48
2015-01-23fs: rework getname_kernel to handle up to PATH_MAX sized filenamesPaul Moore1-14/+20
2015-01-23cut down the number of do_path_lookup() callersAl Viro1-4/+12
2014-12-16Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-47/+51
2014-12-13syscalls: implement execveat() system callDavid Drysdale1-1/+1
2014-12-11fs/namei.c: fold link_path_walk() call into path_init()Al Viro1-21/+6
2014-12-11path_init(): don't bother with LOOKUP_PARENT in argumentAl Viro1-4/+4
2014-12-11fs/namei.c: new helper (path_cleanup())Al Viro1-17/+13
2014-12-11path_init(): store the "base" pointer to file in nameidata itselfAl Viro1-14/+13
2014-12-10make nameidata completely opaque outside of fs/namei.cAl Viro1-0/+24
2014-11-02Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+1
2014-10-30fs: allow open(dir, O_TMPFILE|..., 0) with mode 0Eric Rannaud1-1/+2
2014-10-28overlayfs: fix lockdep misannotationMiklos Szeredi1-1/+1
2014-10-24vfs: add RENAME_WHITEOUTMiklos Szeredi1-2/+6
2014-10-24vfs: add whiteout supportMiklos Szeredi1-0/+14
2014-10-24vfs: export check_sticky()Miklos Szeredi1-7/+2
2014-10-24vfs: export __inode_permission() to modulesMiklos Szeredi1-0/+1
2014-10-24vfs: add i_op->dentry_open()Miklos Szeredi1-3/+6
2014-10-13Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-11/+16
2014-10-12let path_init() failures treated the same way as subsequent link_path_walk()Al Viro1-2/+3
2014-10-12Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/...Linus Torvalds1-1/+1
2014-10-09vfs: Make d_invalidate return voidEric W. Biederman1-5/+5
2014-10-09vfs: Lazily remove mounts on unlinked files and directories.Eric W. Biederman1-6/+6
2014-10-09vfs: Don't allow overwriting mounts in the current mount namespaceEric W. Biederman1-1/+5
2014-10-01Merge commit 'v3.16' into nextJames Morris1-1/+2
2014-09-16vfs: workaround gcc <4.6 build error in link_path_walk()James Hogan1-1/+1
2014-09-15vfs: simplify and shrink stack frame of link_path_walk()Linus Torvalds1-21/+18
2014-09-14Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-20/+32
2014-09-14vfs: avoid non-forwarding large load after small store in path lookupLinus Torvalds1-9/+10
2014-09-14be careful with nd->inode in path_init() and follow_dotdot_rcu()Al Viro1-2/+13
2014-09-14don't bugger nd->seq on set_root_rcu() from follow_dotdot_rcu()Al Viro1-16/+17
2014-09-13fix bogus read_seqretry() checks introduced in b37199eAl Viro1-2/+2
2014-09-13vfs: fix bad hashing of dentriesLinus Torvalds1-2/+2
2014-09-09ima: pass 'opened' flag to identify newly created filesDmitry Kasatkin1-1/+1
2014-08-07namei: trivial fix to vfs_rename_dir commentJ. Bruce Fields1-1/+1
2014-08-07VFS: allow ->d_manage() to declare -EISDIR in rcu_walk mode.NeilBrown1-11/+16
2014-08-07fs: call rename2 if existsMiklos Szeredi1-2/+3
2014-07-24fs: umount on symlink leaks mnt countVasily Averin1-1/+2
2014-06-10fs,userns: Change inode_capable to capable_wrt_inode_uidgidAndy Lutomirski1-5/+6
2014-04-19fix races between __d_instantiate() and checks of dentry flagsAl Viro1-3/+3
2014-04-12Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-36/+31
2014-04-04Merge branch 'locks-3.15' of git://git.samba.org/jlayton/linuxLinus Torvalds1-1/+1
2014-04-01new helper: readlink_copy()Al Viro1-8/+5
2014-04-01namei.c: move EXPORT_SYMBOL to corresponding definitionsAl Viro1-28/+27
2014-04-01get_write_access() is inlined, exporting it is pointlessAl Viro1-1/+0
2014-04-01vfs: add cross-renameMiklos Szeredi1-32/+72
2014-04-01security: add flags to rename hooksMiklos Szeredi1-2/+3
2014-04-01vfs: add RENAME_NOREPLACE flagMiklos Szeredi1-8/+13
2014-04-01vfs: add renameat2 syscallMiklos Szeredi1-7/+27
2014-04-01vfs: rename: use common code for dir and non-dirMiklos Szeredi1-112/+75
2014-04-01vfs: rename: move d_move() upMiklos Szeredi1-3/+2
2014-04-01vfs: add d_is_dir()Miklos Szeredi1-12/+11
2014-03-31locks: fix locks_mandatory_locked to respect file-private locksJeff Layton1-1/+1
2014-03-23rcuwalk: recheck mount_lock after mountpoint crossing attemptsAl Viro1-16/+13
2014-03-10vfs: atomic f_pos accesses as per POSIXLinus Torvalds1-1/+1
2014-02-05execve: use 'struct filename *' for executable name passingLinus Torvalds1-0/+30
2014-01-31Fix mountpoint reference leakage in linkatOleg Drokin1-1/+4
2014-01-31vfs: unexport the getname() symbolJeff Layton1-1/+0
2014-01-25fs: add get_acl helperChristoph Hellwig1-21/+3
2013-12-12dcache: allow word-at-a-time name hashing with big-endian CPUsWill Deacon1-6/+1
2013-11-29fix bogus path_put() of nd->root after some unlazy_walk() failuresAl Viro1-2/+1
2013-11-21Merge git://git.infradead.org/users/eparis/auditLinus Torvalds1-0/+1
2013-11-13Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-126/+196
2013-11-09locks: break delegations on linkJ. Bruce Fields1-4/+32
2013-11-09locks: break delegations on renameJ. Bruce Fields1-4/+43
2013-11-09locks: helper functions for delegation breakingJ. Bruce Fields1-10/+3
2013-11-09locks: break delegations on unlinkJ. Bruce Fields1-3/+39
2013-11-09namei: minor vfs_unlink cleanupJ. Bruce Fields1-3/+4
2013-11-09vfs: take i_mutex on renamed fileJ. Bruce Fields1-5/+5
2013-11-09dcache: fix outdated DCACHE_NEED_LOOKUP commentJ. Bruce Fields1-2/+2
2013-11-09VFS: Put a small type field into struct dentry::d_flagsDavid Howells1-57/+38
2013-11-09get rid of {lock,unlock}_rcu_walk()Al Viro1-24/+14
2013-11-09RCU'd vfsmountsAl Viro1-24/+26
2013-11-05audit: add child record before the create to handle case where create failsJeff Layton1-0/+1
2013-10-24split __lookup_mnt() in two functionsAl Viro1-2/+2
2013-10-22fs/namei.c: fix new kernel-doc warningRandy Dunlap1-1/+2
2013-09-17atomic_open: take care of EEXIST in no-open case with O_CREAT|O_EXCL in fs/na...Al Viro1-14/+19
2013-09-16vfs: don't set FILE_CREATED before calling ->atomic_open()Miklos Szeredi1-3/+8
2013-09-10Add missing unlocks to error paths of mountpoint_last.Dave Jones1-1/+4
2013-09-10... and fold the renamed __vfs_follow_link() into its only callerAl Viro1-24/+14
2013-09-10fs: remove vfs_follow_linkChristoph Hellwig1-8/+2
2013-09-10Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-53/+59
2013-09-10vfs: make sure we don't have a stale root path if unlazy_walk() failsLinus Torvalds1-1/+4
2013-09-08vfs: fix dentry RCU to refcounting possibly sleeping dput()Linus Torvalds1-53/+49
2013-09-08introduce kern_path_mountpoint()Al Viro1-11/+24
2013-09-08rename user_path_umountat() to user_path_mountpoint_at()Al Viro1-12/+11
2013-09-08take unlazy_walk() into umount_lookup_last()Al Viro1-33/+27
2013-09-08vfs: use lockred "dead" flag to mark unrecoverably dead dentriesLinus Torvalds1-18/+5
2013-09-05Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-0/+182
2013-09-03vfs: allow umount to handle mountpoints without revalidating themJeff Layton1-0/+182
2013-09-02vfs: reimplement d_rcu_to_refcount() using lockref_get_or_lock()Linus Torvalds1-26/+64
2013-08-28vfs: make the dentry cache use the lockref infrastructureWaiman Long1-3/+3
2013-08-28Revert "fs: Allow unprivileged linkat(..., AT_EMPTY_PATH) aka flink"Linus Torvalds1-3/+7
2013-08-05fs: Allow unprivileged linkat(..., AT_EMPTY_PATH) aka flinkAndy Lutomirski1-7/+3
2013-07-13Safer ABI for O_TMPFILEAl Viro1-1/+1
2013-06-29Don't pass inode to ->d_hash() and ->d_compare()Linus Torvalds1-4/+3
2013-06-29allow the temp files created by open() to be linked toAl Viro1-2/+14
2013-06-29[O_TMPFILE] it's still short a few helpers, but infrastructure should be OK n...Al Viro1-0/+60
2013-06-29allow build_open_flags() to return an errorAl Viro1-4/+4
2013-06-29do_last(): fix missing checks for LAST_BIND caseAl Viro1-21/+3
2013-06-15use can_lookup() instead of direct checks of ->i_op->lookupAl Viro1-2/+2
2013-05-11Merge git://git.infradead.org/users/eparis/auditLinus Torvalds1-1/+1
2013-05-07audit: vfs: fix audit_inode call in O_CREAT case of do_lastJeff Layton1-1/+1
2013-03-08vfs: don't BUG_ON() if following a /proc fd pseudo-symlink results in a symlinkLinus Torvalds1-2/+0
2013-03-01constify path_get/path_put and fs_struct.c stuffAl Viro1-2/+2
2013-02-26vfs: kill FS_REVAL_DOT by adding a d_weak_revalidate dentry opJeff Layton1-6/+2
2013-02-22lookup_slow: get rid of name argumentAl Viro1-4/+3
2013-02-22lookup_fast: get rid of name argumentAl Viro1-5/+5
2013-02-22get rid of name and type arguments of walk_component()Al Viro1-10/+8
2013-02-22link_path_walk(): move assignments to nd->last/nd->last_type upAl Viro1-12/+10
2013-02-22propagate error from get_empty_filp() to its callersAl Viro1-2/+2
2013-02-22new helper: file_inode(file)Al Viro1-1/+1
2012-12-20vfs: fix renameat to retry on ESTALE errorsJeff Layton1-3/+12
2012-12-20vfs: make do_unlinkat retry once on ESTALE errorsJeff Layton1-2/+8
2012-12-20vfs: make do_rmdir retry once on ESTALE errorsJeff Layton1-2/+7
2012-12-20vfs: add a flags argument to user_path_parentJeff Layton1-6/+10
2012-12-20vfs: fix linkat to retry once on ESTALE errorsJeff Layton1-2/+7
2012-12-20vfs: fix symlinkat to retry on ESTALE errorsJeff Layton1-2/+7
2012-12-20vfs: fix mkdirat to retry once on an ESTALE errorJeff Layton1-1/+7
2012-12-20vfs: fix mknodat to retry on ESTALE errorsJeff Layton1-2/+7
2012-12-20vfs: turn is_dir argument to kern_path_create into a lookup_flags argJeff Layton1-5/+16
2012-12-20vfs: remove DCACHE_NEED_LOOKUPJeff Layton1-10/+1
2012-12-20path_init(): make -ENOTDIR failure exits consistentAl Viro1-2/+2
2012-12-20vfs: remove unneeded permission check from path_initJeff Layton1-6/+1
2012-11-29lookup_one_len: don't accept . and ..Al Viro1-0/+5
2012-10-26VFS: don't do protected {sym,hard}links by defaultLinus Torvalds1-2/+2
2012-10-12vfs: embed struct filename inside of names_cache allocation if possibleJeff Layton1-20/+49
2012-10-12audit: make audit_inode take struct filenameJeff Layton1-9/+7
2012-10-12vfs: make path_openat take a struct filename pointerJeff Layton1-8/+10
2012-10-12vfs: turn do_path_lookup into wrapper around struct filename variantJeff Layton1-7/+23
2012-10-12audit: allow audit code to satisfy getname requests from its names_listJeff Layton1-0/+4
2012-10-12vfs: define struct filename and have getname() return itJeff Layton1-41/+67
2012-10-12vfs: unexport getname and putname symbolsJeff Layton1-2/+0
2012-10-12audit: overhaul __audit_inode_child to accomodate retryingJeff Layton1-1/+1
2012-10-12audit: set the name_len in audit_inode for parent lookupsJeff Layton1-7/+7
2012-10-12audit: reverse arguments to audit_inode_childJeff Layton1-1/+1
2012-10-12audit: remove unnecessary NULL ptr checks from do_path_lookupJeff Layton1-6/+2
2012-10-11vfs: bogus warnings in fs/namei.cArnd Bergmann1-0/+1
2012-10-09fs: prevent use after free in auditing when symlink following was deniedSasha Levin1-1/+1
2012-10-02Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-23/+18
2012-10-02Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-3/+3
2012-09-26switch simple cases of fget_light to fdgetAl Viro1-22/+17
2012-09-26namei.c: fix BS commentAl Viro1-1/+1
2012-08-22fs: fix fs/namei.c kernel-doc warningsRandy Dunlap1-0/+2
2012-08-16vfs: fix propagation of atomic_open create error on negative dentrySage Weil1-0/+4
2012-08-15vfs: pass right create mode to may_o_create()Miklos Szeredi1-1/+1
2012-08-15vfs: atomic_open(): fix create mode usageMiklos Szeredi1-1/+1
2012-08-03userns: Fix link restrictions to use uid_eqEric W. Biederman1-3/+3
2012-07-31fs: Push mnt_want_write() outside of i_mutexJan Kara1-21/+25
2012-07-31simplify lookup_open()/atomic_open() - do the temporary mnt_want_write() earlyAl Viro1-22/+29
2012-07-30fix O_EXCL handling for devicesAl Viro1-2/+2
2012-07-29fs: add link restriction audit reportingKees Cook1-0/+2
2012-07-29fs: add link restrictionsKees Cook1-0/+122
2012-07-29vfs: don't let do_last pass negative dentry to audit_inodeJeff Layton1-2/+3
2012-07-29pull mnt_want_write()/mnt_drop_write() into kern_path_create()/done_path_crea...Al Viro1-39/+18
2012-07-29mknod: take sanity checks on mode into the very beginningAl Viro1-5/+3
2012-07-29new helper: done_path_create()Al Viro1-12/+12
2012-07-23tidy up namei.c a bitAl Viro1-18/+21
2012-07-23unobfuscate follow_up() a bitAl Viro1-1/+1
2012-07-22use __lookup_hash() in kern_path_parent()Al Viro1-1/+1
2012-07-14VFS: Split inode_permission()David Howells1-17/+49
2012-07-14VFS: Comment mount following codeDavid Howells1-0/+10
2012-07-14fs: add nd_jump_linkChristoph Hellwig1-10/+17
2012-07-14fs: move path_put on failure out of ->follow_linkChristoph Hellwig1-2/+1
2012-07-14get rid of kern_path_parent()Al Viro1-2/+20
2012-07-14VFS: Fix the banner comment on lookup_open()David Howells1-3/+26
2012-07-14don't pass nameidata * to vfs_create()Al Viro1-4/+5
2012-07-14don't pass nameidata to ->create()Al Viro1-2/+1
2012-07-14fs/namei.c: don't pass nameidata to __lookup_hash() and lookup_real()Al Viro1-10/+10
2012-07-14stop passing nameidata to ->lookup()Al Viro1-1/+1
2012-07-14fs/namei.c: don't pass namedata to lookup_dcache()Al Viro1-4/+4
2012-07-14fs/namei.c: don't pass nameidata to d_revalidate()Al Viro1-6/+6
2012-07-14stop passing nameidata * to ->d_revalidate()Al Viro1-1/+1
2012-07-14fs/namei.c: get do_last() and friends return intAl Viro1-80/+70
2012-07-14kill struct opendataAl Viro1-23/+25
2012-07-14kill opendata->{mnt,dentry}Al Viro1-9/+6
2012-07-14make ->atomic_open() return intAl Viro1-6/+8
2012-07-14don't modify od->filp at allAl Viro1-3/+1
2012-07-14->atomic_open() prototype change - pass int * instead of bool *Al Viro1-16/+17
2012-07-14vfs: move O_DIRECT check to common codeMiklos Szeredi1-12/+5
2012-07-14vfs: do_last(): clean up retryMiklos Szeredi1-15/+21
2012-07-14vfs: do_last(): clean up boolMiklos Szeredi1-14/+14
2012-07-14vfs: do_last(): clean up labelsMiklos Szeredi1-5/+5
2012-07-14vfs: do_last(): clean up error handlingMiklos Szeredi1-15/+8
2012-07-14vfs: remove open intents from nameidataMiklos Szeredi1-50/+45
2012-07-14vfs: add i_op->atomic_open()Miklos Szeredi1-2/+201
2012-07-14vfs: lookup_open(): expand lookup_hash()Miklos Szeredi1-1/+11
2012-07-14vfs: add lookup_open()Miklos Szeredi1-38/+61
2012-07-14vfs: do_last(): common slow lookupMiklos Szeredi1-22/+5
2012-07-14vfs: do_last(): separate O_CREAT specific codeMiklos Szeredi1-16/+17
2012-07-14vfs: do_last(): inline lookup_slow()Miklos Szeredi1-2/+15
2012-07-14namei.c: let follow_link() do put_link() on failureAl Viro1-33/+41
2012-06-01vfs: retry last component if opening stale dentryMiklos Szeredi1-2/+35
2012-06-01vfs: do_last() common post lookupMiklos Szeredi1-31/+3
2012-06-01vfs: do_last(): add audit_inode before openMiklos Szeredi1-0/+1
2012-06-01vfs: do_last(): only return EISDIR for O_CREATMiklos Szeredi1-1/+1