aboutsummaryrefslogtreecommitdiffstats
path: root/fs/namei.c
AgeCommit message (Expand)AuthorFilesLines
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
2012-06-01vfs: do_last(): check LOOKUP_DIRECTORYMiklos Szeredi1-0/+3
2012-06-01vfs: do_last(): make ENOENT exit RCU safeMiklos Szeredi1-2/+4
2012-06-01vfs: make follow_link check RCU safeMiklos Szeredi1-2/+10
2012-06-01vfs: do_last(): use inode variableMiklos Szeredi1-3/+5
2012-06-01vfs: do_last(): inline walk_component()Miklos Szeredi1-5/+30
2012-06-01vfs: do_last(): make exit RCU safeMiklos Szeredi1-1/+1
2012-06-01vfs: split do_lookup()Miklos Szeredi1-14/+45
2012-05-29brlocks/lglocks: API cleanupsAndi Kleen1-12/+12
2012-05-26word-at-a-time: make the interfaces truly genericLinus Torvalds1-10/+12
2012-05-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparcLinus Torvalds1-0/+1
2012-05-24kernel: Move REPEAT_BYTE definition into linux/kernel.hDavid S. Miller1-0/+1
2012-05-23Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-19/+10
2012-05-21Merge branch 'dentry-cleanups' (dcache access cleanups and optimizations)Linus Torvalds1-3/+16
2012-05-21Merge branch 'vfs-cleanups' (random vfs cleanups)Linus Torvalds1-34/+24
2012-05-04vfs: clean up __d_lookup_rcu() and dentry_cmp() interfacesLinus Torvalds1-3/+16
2012-05-03vfs: make word-at-a-time accesses handle a non-existing pageLinus Torvalds1-2/+2
2012-05-03userns: Use uid_eq gid_eq helpers when comparing kuids and kgids in the vfsEric W. Biederman1-4/+4
2012-04-28VFS: clean up and simplify getname_flags()Linus Torvalds1-34/+24
2012-04-07userns: Replace the hard to write inode_userns with inode_capable.Eric W. Biederman1-13/+5
2012-04-06Make the "word-at-a-time" helper functions more commonly usableLinus Torvalds1-32/+3
2012-04-03vfs: Don't allow a user namespace root to make device nodesEric W. Biederman1-2/+1
2012-03-31vfs: fix out-of-date dentry_unhash() commentJ. Bruce Fields1-1/+1
2012-03-31vfs: split __lookup_hashMiklos Szeredi1-64/+44
2012-03-31untangling do_lookup() - take __lookup_hash()-calling case out of line.Al Viro1-15/+16
2012-03-31untangling do_lookup() - switch to calling __lookup_hash()Al Viro1-67/+46
2012-03-31untangling do_lookup() - merge d_alloc_and_lookup() callersAl Viro1-3/+3
2012-03-31untangling do_lookup() - merge failure exits in !dentry caseAl Viro1-15/+8
2012-03-31untangling do_lookup() - massage !dentry case towards __lookup_hash()Al Viro1-25/+20
2012-03-31untangling do_lookup() - get rid of need_reval in !dentry caseAl Viro1-6/+1
2012-03-31untangling do_lookup() - eliminate a loop.Al Viro1-4/+8
2012-03-31untangling do_lookup() - expand the area under ->i_mutexAl Viro1-2/+4
2012-03-31untangling do_lookup() - isolate !dentry stuff from the rest of it.Al Viro1-1/+16
2012-03-31vfs: move MAY_EXEC check from __lookup_hash()Miklos Szeredi1-6/+5
2012-03-31vfs: don't revalidate just looked up dentryMiklos Szeredi1-3/+1
2012-03-31vfs: fix d_need_lookup/d_revalidate order in do_lookupMiklos Szeredi1-2/+2
2012-03-24Merge tag 'module-for-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-1/+1
2012-03-22vfs: tidy up sparse warnings in fs/namei.cLinus Torvalds1-3/+3
2012-03-22vfs: tidy up fs/namei.c byte-repeat word constantsLinus Torvalds1-9/+4
2012-03-22Fix full_name_hash() behaviour when length is a multiple of 8Al Viro1-1/+1
2012-03-22Merge branch 'akpm' (Andrew's patch-bomb)Linus Torvalds1-0/+6
2012-03-21fs/namei.c: fix warnings on 32-bitAndrew Morton1-0/+6
2012-03-21Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+14
2012-03-21Merge branch 'kmap_atomic' of git://github.com/congwang/linuxLinus Torvalds1-2/+2
2012-03-20switch touch_atime to struct pathAl Viro1-1/+1
2012-03-20vfs: check i_nlink limits in vfs_{mkdir,rename_dir,link}Al Viro1-0/+13
2012-03-20fs: remove the second argument of k[un]map_atomic()Cong Wang1-2/+2
2012-03-19Merge branch 'dcache-word-accesses'Linus Torvalds1-0/+122
2012-03-10vfs: fix return value from do_last()Miklos Szeredi1-1/+1
2012-03-10vfs: fix double put after complete_walk()Miklos Szeredi1-1/+1
2012-03-08vfs: use 'unsigned long' accesses for dcache name comparison and hashingLinus Torvalds1-0/+122
2012-03-02vfs: export full_name_hash() function to modulesLinus Torvalds1-0/+1
2012-03-02vfs: split up name hashing in link_path_walk() into helper functionLinus Torvalds1-18/+34
2012-03-02vfs: uninline full_name_hash()Linus Torvalds1-4/+9
2012-02-28fs: reduce the use of module.h wherever possiblePaul Gortmaker1-1/+1
2012-02-13vfs: fix d_inode_lookup() dentry ref leakMiklos Szeredi1-1/+3
2012-01-17audit: do not call audit_getname on errorEric Paris1-15/+13
2012-01-06Merge branches 'vfsmount-guts', 'umode_t' and 'partitions' into ZAl Viro1-9/+9
2012-01-03vfs: move mnt_mountpoint to struct mountAl Viro1-2/+2
2012-01-03vfs: now it can be done - make mnt_parent point to struct mountAl Viro1-11/+13
2012-01-03vfs: mnt_parent moved to struct mountAl Viro1-2/+2
2012-01-03vfs: spread struct mount - __lookup_mnt() resultAl Viro1-6/+7
2012-01-03switch open and mkdir syscalls to umode_tAl Viro1-3/+3
2012-01-03switch may_mknod() to umode_tAl Viro1-1/+1
2012-01-03switch ->mknod() to umode_tAl Viro1-1/+1
2012-01-03switch ->create() to umode_tAl Viro1-1/+1
2012-01-03switch vfs_mkdir() and ->mkdir() to umode_tAl Viro1-1/+1
2012-01-03switch sys_mknodat(2) to umode_tAl Viro1-2/+2
2011-11-07VFS: we need to set LOOKUP_JUMPED on mountpoint crossingAl Viro1-1/+15
2011-11-02readlinkat: ensure we return ENOENT for the empty pathname for normal lookupsAndy Whitcroft1-5/+13
2011-10-28leases: fix write-open/read-lease raceJ. Bruce Fields1-4/+1
2011-10-28vfs: add a comment to inode_permission()Andreas Gruenbacher1-2/+4
2011-10-28vfs: pass all mask flags check_acl and posix_acl_permissionAndreas Gruenbacher1-2/+0
2011-10-28vfs: indicate that the permission functions take all the MAY_* flagsAndreas Gruenbacher1-2/+2
2011-09-27vfs: remove LOOKUP_NO_AUTOMOUNT flagLinus Torvalds1-6/+0
2011-09-26vfs pathname lookup: Add LOOKUP_AUTOMOUNT flagLinus Torvalds1-1/+1
2011-09-14restore pinning the victim dentry in vfs_rmdir()/vfs_rename_dir()Al Viro1-0/+4
2011-09-09vfs: automount should ignore LOOKUP_FOLLOWMiklos Szeredi1-18/+15
2011-08-07vfs: rename 'do_follow_link' to 'should_follow_link'Linus Torvalds1-2/+2
2011-08-07Fix POSIX ACL permission checkAri Savolainen1-1/+1
2011-08-06vfs: optimize inode cache access patternsLinus Torvalds1-10/+66
2011-08-03RCUify freeing acls, let check_acl() go ahead in RCU mode if acl is cachedAl Viro1-11/+6
2011-08-01VFS: Fix automount for negative autofs dentriesDavid Howells1-9/+15
2011-07-25vfs: fix check_acl compile error when CONFIG_FS_POSIX_ACL is not setLinus Torvalds1-0/+2
2011-07-25vfs: make gcc generate more obvious code for acl permission checkingLinus Torvalds1-1/+1
2011-07-25fs: take the ACL checks to common codeChristoph Hellwig1-11/+13
2011-07-25vfs: move ACL cache lookup into generic codeLinus Torvalds1-3/+49
2011-07-20VFS: Fixup kerneldoc for generic_permission()Tobias Klauser1-1/+0
2011-07-20unexport kern_path_parent()Al Viro1-1/+0
2011-07-20switch vfs_path_lookup() to struct pathAl Viro1-5/+11
2011-07-20kill lookup_create()Al Viro1-36/+18
2011-07-20new helpers: kern_path_create/user_path_createAl Viro1-78/+76
2011-07-20kill LOOKUP_CONTINUEAl Viro1-8/+3
2011-07-20don't transliterate lower bits of ->intent.open.flags to FMODE_...Al Viro1-19/+2
2011-07-20Don't pass nameidata when calling vfs_create() from mknod()Al Viro1-1/+1
2011-07-20merge do_revalidate() into its only callerAl Viro1-24/+18
2011-07-20no reason to keep exec_permission() separate nowAl Viro1-41/+4
2011-07-20massage generic_permission() to treat directories on a separate pathAl Viro1-4/+13
2011-07-20->permission() sanitizing: don't pass flags to exec_permission()Al Viro1-10/+7
2011-07-20->permission() sanitizing: don't pass flags to ->permission()Al Viro1-2/+2
2011-07-20->permission() sanitizing: don't pass flags to generic_permission()Al Viro1-2/+2
2011-07-20->permission() sanitizing: don't pass flags to ->check_acl()Al Viro1-5/+5
2011-07-20->permission() sanitizing: pass MAY_NOT_BLOCK to ->check_acl()Al Viro1-2/+2
2011-07-20->permission() sanitizing: MAY_NOT_BLOCKAl Viro1-2/+5
2011-07-20kill check_acl callback of generic_permission()Al Viro1-10/+7
2011-07-20lockless get_write_access/deny_write_accessAl Viro1-46/+0
2011-07-20move exec_permission() up to the rest of permission-related functionsAl Viro1-34/+38
2011-07-20kill file_permission() completelyAl Viro1-18/+0
2011-07-20switch path_init() to exec_permission()Al Viro1-1/+1
2011-07-20make exec_permission(dir) really equivalent to inode_permission(dir, MAY_EXEC)Al Viro1-9/+9
2011-07-20fs: add a DCACHE_NEED_LOOKUP flag for d_flagsJosef Bacik1-0/+49
2011-07-19vfs: fix race in rcu lookup of pruned dentryLinus Torvalds1-1/+6
2011-07-12Fix ->d_lock locking order in unlazy_walk()Al Viro1-0/+2
2011-06-20fix comment in generic_permission()Al Viro1-1/+2
2011-06-20kill obsolete comment for follow_down()Al Viro1-3/+0
2011-06-16VFS: Fix vfsmount overput on simultaneous automountAl Viro1-8/+16
2011-06-16fix wrong iput on d_inode introduced by e6bc45d65dTörök Edwin1-1/+3
2011-06-07vfs: make unlink() and rmdir() return ENOENT in preference to EROFSTheodore Ts'o1-4/+7
2011-05-30vfs: shrink_dcache_parent before rmdir, dir renameSage Weil1-0/+3
2011-05-27Lift the check for automount points into do_lookup()Al Viro1-5/+5
2011-05-27Trim excessive arguments of follow_mount_rcu()Al Viro1-18/+8
2011-05-27split __follow_mount_rcu() into normal and .. casesAl Viro1-9/+26
2011-05-26Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-242/+138
2011-05-26vfs: clean up vfs_rename_otherSage Weil1-11/+14
2011-05-26vfs: clean up vfs_rename_dirSage Weil1-11/+15
2011-05-26vfs: clean up vfs_rmdirSage Weil1-14/+17
2011-05-26vfs: fix vfs_rename_dir for FS_RENAME_DOES_D_MOVE filesystemsMiklos Szeredi1-2/+0
2011-05-26vfs: update dentry_unhash() commentSage Weil1-4/+4
2011-05-26vfs: push dentry_unhash on rename_dir into file systemsSage Weil1-10/+2
2011-05-26vfs: push dentry_unhash on rmdir into file systemsSage Weil1-1/+0