/linux-6.1.9/fs/ |
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()
|
D | open.c | 124 unsigned int lookup_flags = LOOKUP_FOLLOW; in do_sys_truncate() 425 unsigned int lookup_flags = LOOKUP_FOLLOW; in do_faccessat() 435 lookup_flags &= ~LOOKUP_FOLLOW; in do_faccessat() 512 unsigned int lookup_flags = LOOKUP_FOLLOW | LOOKUP_DIRECTORY; in SYSCALL_DEFINE1() 560 unsigned int lookup_flags = LOOKUP_FOLLOW | LOOKUP_DIRECTORY; in SYSCALL_DEFINE1() 641 unsigned int lookup_flags = LOOKUP_FOLLOW; in do_fchmodat() 757 lookup_flags = (flag & AT_SYMLINK_NOFOLLOW) ? 0 : LOOKUP_FOLLOW; in do_fchownat() 1214 lookup_flags |= LOOKUP_FOLLOW; in build_open_flags()
|
D | fsopen.c | 174 lookup_flags = LOOKUP_FOLLOW | LOOKUP_AUTOMOUNT; in SYSCALL_DEFINE3() 176 lookup_flags &= ~LOOKUP_FOLLOW; in SYSCALL_DEFINE3()
|
D | namespace.c | 1821 lookup_flags |= LOOKUP_FOLLOW; in ksys_umount() 2428 err = kern_path(old_name, LOOKUP_FOLLOW|LOOKUP_AUTOMOUNT, &old_path); in do_loopback() 2508 int lookup_flags = LOOKUP_AUTOMOUNT | LOOKUP_FOLLOW; in SYSCALL_DEFINE3() 2526 lookup_flags &= ~LOOKUP_FOLLOW; in SYSCALL_DEFINE3() 2912 err = kern_path(old_name, LOOKUP_FOLLOW, &old_path); in do_move_mount_old() 3380 ret = user_path_at(AT_FDCWD, dir_name, LOOKUP_FOLLOW, &path); in do_mount() 3550 name, LOOKUP_FOLLOW|LOOKUP_AUTOMOUNT, &path); in mount_subtree() 3785 if (flags & MOVE_MOUNT_F_SYMLINKS) lflags |= LOOKUP_FOLLOW; in SYSCALL_DEFINE5() 3794 if (flags & MOVE_MOUNT_T_SYMLINKS) lflags |= LOOKUP_FOLLOW; in SYSCALL_DEFINE5() 3880 LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &new); in SYSCALL_DEFINE2() [all …]
|
D | xattr.c | 652 return path_setxattr(pathname, name, value, size, flags, LOOKUP_FOLLOW); in SYSCALL_DEFINE5() 763 return path_getxattr(pathname, name, value, size, LOOKUP_FOLLOW); in SYSCALL_DEFINE4() 840 return path_listxattr(pathname, list, size, LOOKUP_FOLLOW); in SYSCALL_DEFINE3() 906 return path_removexattr(pathname, name, LOOKUP_FOLLOW); in SYSCALL_DEFINE2()
|
D | fhandle.c | 104 lookup_flags = (flag & AT_SYMLINK_FOLLOW) ? LOOKUP_FOLLOW : 0; in SYSCALL_DEFINE5()
|
D | utimes.c | 89 lookup_flags |= LOOKUP_FOLLOW; in do_utimes_path()
|
D | statfs.c | 101 unsigned int lookup_flags = LOOKUP_FOLLOW|LOOKUP_AUTOMOUNT; in user_statfs()
|
D | exec.c | 131 .lookup_flags = LOOKUP_FOLLOW, in SYSCALL_DEFINE1() 910 .lookup_flags = LOOKUP_FOLLOW, in do_open_execat() 916 open_exec_flags.lookup_flags &= ~LOOKUP_FOLLOW; in do_open_execat()
|
D | stat.c | 193 lookup_flags |= LOOKUP_FOLLOW; in getname_statx_lookup_flags()
|
/linux-6.1.9/io_uring/ |
D | xattr.c | 98 ix->filename = getname_flags(path, LOOKUP_FOLLOW, NULL); in io_getxattr_prep() 126 unsigned int lookup_flags = LOOKUP_FOLLOW; in io_getxattr() 194 ix->filename = getname_flags(path, LOOKUP_FOLLOW, NULL); in io_setxattr_prep() 238 unsigned int lookup_flags = LOOKUP_FOLLOW; in io_setxattr()
|
/linux-6.1.9/security/tomoyo/ |
D | load_policy.c | 43 if (kern_path(tomoyo_loader, LOOKUP_FOLLOW, &path)) { in tomoyo_policy_loader_exists()
|
D | mount.c | 136 if (!dev_name || kern_path(dev_name, LOOKUP_FOLLOW, &path)) { in tomoyo_mount_acl()
|
/linux-6.1.9/fs/coda/ |
D | pioctl.c | 69 data.follow ? LOOKUP_FOLLOW : 0, &path); in coda_pioctl()
|
/linux-6.1.9/include/trace/events/ |
D | fs.h | 104 { LOOKUP_FOLLOW, "FOLLOW" }, \
|
/linux-6.1.9/include/linux/ |
D | namei.h | 21 #define LOOKUP_FOLLOW 0x0001 /* follow links at the end */ macro
|
/linux-6.1.9/security/apparmor/ |
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-6.1.9/fs/configfs/ |
D | symlink.c | 122 ret = kern_path(symname, LOOKUP_FOLLOW|LOOKUP_DIRECTORY, path); in get_target()
|
/linux-6.1.9/kernel/bpf/ |
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-6.1.9/fs/autofs/ |
D | dev-ioctl.c | 524 err = kern_path(name, LOOKUP_FOLLOW | LOOKUP_MOUNTPOINT, in autofs_dev_ioctl_ismountpoint()
|
/linux-6.1.9/drivers/mtd/ubi/ |
D | kapi.c | 300 error = kern_path(pathname, LOOKUP_FOLLOW, &path); in ubi_open_volume_path()
|
/linux-6.1.9/fs/ecryptfs/ |
D | main.c | 527 rc = kern_path(dev_name, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path); in ecryptfs_mount()
|
/linux-6.1.9/kernel/trace/ |
D | trace_uprobe.c | 588 ret = kern_path(filename, LOOKUP_FOLLOW, &path); in __trace_uprobe_create() 1589 ret = kern_path(name, LOOKUP_FOLLOW, &path); in create_local_trace_uprobe()
|
/linux-6.1.9/fs/notify/inotify/ |
D | inotify_user.c | 773 flags |= LOOKUP_FOLLOW; in SYSCALL_DEFINE3()
|
/linux-6.1.9/block/ |
D | bdev.c | 981 error = kern_path(pathname, LOOKUP_FOLLOW, &path); in lookup_bdev()
|