/linux/fs/ |
A D | init.c | 22 ret = kern_path(dir_name, LOOKUP_FOLLOW, &path); in init_mount() 37 lookup_flags |= LOOKUP_FOLLOW; in init_umount() 49 error = kern_path(filename, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path); in init_chdir() 64 error = kern_path(filename, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path); in init_chroot() 84 int lookup_flags = (flags & AT_SYMLINK_NOFOLLOW) ? 0 : LOOKUP_FOLLOW; in init_chown() 105 error = kern_path(filename, LOOKUP_FOLLOW, &path); in init_chmod() 118 error = kern_path(filename, LOOKUP_FOLLOW, &path); in init_eaccess() 128 int lookup_flags = (flags & AT_SYMLINK_NOFOLLOW) ? 0 : LOOKUP_FOLLOW; in init_stat()
|
A D | open.c | 123 unsigned int lookup_flags = LOOKUP_FOLLOW; in do_sys_truncate() 400 unsigned int lookup_flags = LOOKUP_FOLLOW; in do_faccessat() 410 lookup_flags &= ~LOOKUP_FOLLOW; in do_faccessat() 487 unsigned int lookup_flags = LOOKUP_FOLLOW | LOOKUP_DIRECTORY; in SYSCALL_DEFINE1() 535 unsigned int lookup_flags = LOOKUP_FOLLOW | LOOKUP_DIRECTORY; in SYSCALL_DEFINE1() 616 unsigned int lookup_flags = LOOKUP_FOLLOW; in do_fchmodat() 699 lookup_flags = (flag & AT_SYMLINK_NOFOLLOW) ? 0 : LOOKUP_FOLLOW; in do_fchownat() 1116 lookup_flags |= LOOKUP_FOLLOW; in build_open_flags()
|
A D | fsopen.c | 174 lookup_flags = LOOKUP_FOLLOW | LOOKUP_AUTOMOUNT; in SYSCALL_DEFINE3() 176 lookup_flags &= ~LOOKUP_FOLLOW; in SYSCALL_DEFINE3()
|
A D | xattr.c | 611 return path_setxattr(pathname, name, value, size, flags, LOOKUP_FOLLOW); in SYSCALL_DEFINE5() 706 return path_getxattr(pathname, name, value, size, LOOKUP_FOLLOW); in SYSCALL_DEFINE4() 783 return path_listxattr(pathname, list, size, LOOKUP_FOLLOW); in SYSCALL_DEFINE3() 849 return path_removexattr(pathname, name, LOOKUP_FOLLOW); in SYSCALL_DEFINE2()
|
A D | namespace.c | 1772 lookup_flags |= LOOKUP_FOLLOW; in ksys_umount() 2458 int lookup_flags = LOOKUP_AUTOMOUNT | LOOKUP_FOLLOW; in SYSCALL_DEFINE3() 2476 lookup_flags &= ~LOOKUP_FOLLOW; in SYSCALL_DEFINE3() 2860 err = kern_path(old_name, LOOKUP_FOLLOW, &old_path); in do_move_mount_old() 3328 ret = user_path_at(AT_FDCWD, dir_name, LOOKUP_FOLLOW, &path); in do_mount() 3498 name, LOOKUP_FOLLOW|LOOKUP_AUTOMOUNT, &path); in mount_subtree() 3733 if (flags & MOVE_MOUNT_F_SYMLINKS) lflags |= LOOKUP_FOLLOW; in SYSCALL_DEFINE5() 3742 if (flags & MOVE_MOUNT_T_SYMLINKS) lflags |= LOOKUP_FOLLOW; in SYSCALL_DEFINE5() 3828 LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &new); in SYSCALL_DEFINE2() 3833 LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &old); in SYSCALL_DEFINE2() [all …]
|
A D | fhandle.c | 104 lookup_flags = (flag & AT_SYMLINK_FOLLOW) ? LOOKUP_FOLLOW : 0; in SYSCALL_DEFINE5()
|
A D | utimes.c | 89 lookup_flags |= LOOKUP_FOLLOW; in do_utimes_path()
|
A D | exec.c | 132 .lookup_flags = LOOKUP_FOLLOW, in SYSCALL_DEFINE1() 902 .lookup_flags = LOOKUP_FOLLOW, in do_open_execat() 908 open_exec_flags.lookup_flags &= ~LOOKUP_FOLLOW; in do_open_execat()
|
A D | statfs.c | 101 unsigned int lookup_flags = LOOKUP_FOLLOW|LOOKUP_AUTOMOUNT; in user_statfs()
|
A D | stat.c | 214 lookup_flags |= LOOKUP_FOLLOW; in vfs_statx()
|
/linux/security/tomoyo/ |
A D | load_policy.c | 43 if (kern_path(tomoyo_loader, LOOKUP_FOLLOW, &path)) { in tomoyo_policy_loader_exists()
|
A D | mount.c | 136 if (!dev_name || kern_path(dev_name, LOOKUP_FOLLOW, &path)) { in tomoyo_mount_acl()
|
/linux/fs/coda/ |
A D | pioctl.c | 69 data.follow ? LOOKUP_FOLLOW : 0, &path); in coda_pioctl()
|
/linux/include/linux/ |
A D | namei.h | 21 #define LOOKUP_FOLLOW 0x0001 /* follow links at the end */ macro
|
/linux/include/trace/events/ |
A D | fs.h | 104 { LOOKUP_FOLLOW, "FOLLOW" }, \
|
/linux/security/apparmor/ |
A D | mount.c | 438 error = kern_path(dev_name, LOOKUP_FOLLOW|LOOKUP_AUTOMOUNT, &old_path); in aa_bind_mount() 498 error = kern_path(orig_name, LOOKUP_FOLLOW, &old_path); in aa_move_mount() 546 error = kern_path(dev_name, LOOKUP_FOLLOW, &tmp_path); in aa_new_mount()
|
/linux/fs/configfs/ |
A D | symlink.c | 122 ret = kern_path(symname, LOOKUP_FOLLOW|LOOKUP_DIRECTORY, path); in get_target()
|
/linux/kernel/bpf/ |
A D | inode.c | 506 ret = user_path_at(AT_FDCWD, pathname, LOOKUP_FOLLOW, &path); in bpf_obj_do_get() 590 int ret = kern_path(name, LOOKUP_FOLLOW, &path); in bpf_prog_get_type_path()
|
/linux/fs/autofs/ |
A D | dev-ioctl.c | 524 err = kern_path(name, LOOKUP_FOLLOW | LOOKUP_MOUNTPOINT, in autofs_dev_ioctl_ismountpoint()
|
/linux/drivers/mtd/ubi/ |
A D | kapi.c | 300 error = kern_path(pathname, LOOKUP_FOLLOW, &path); in ubi_open_volume_path()
|
/linux/kernel/trace/ |
A D | trace_uprobe.c | 587 ret = kern_path(filename, LOOKUP_FOLLOW, &path); in __trace_uprobe_create() 1594 ret = kern_path(name, LOOKUP_FOLLOW, &path); in create_local_trace_uprobe()
|
/linux/fs/ecryptfs/ |
A D | main.c | 527 rc = kern_path(dev_name, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path); in ecryptfs_mount()
|
/linux/fs/notify/inotify/ |
A D | inotify_user.c | 752 flags |= LOOKUP_FOLLOW; in SYSCALL_DEFINE3()
|
/linux/block/ |
A D | bdev.c | 985 error = kern_path(pathname, LOOKUP_FOLLOW, &path); in lookup_bdev()
|
/linux/fs/nfsd/ |
A D | nfs4recover.c | 656 status = kern_path(recdir, LOOKUP_FOLLOW, &path); in nfs4_reset_recoverydir() 2044 status = kern_path(nfs4_recoverydir(), LOOKUP_FOLLOW, &path); in nfsd4_client_tracking_init()
|