Home
last modified time | relevance | path

Searched refs:LOOKUP_FOLLOW (Results 1 – 25 of 37) sorted by relevance

12

/linux-6.1.9/fs/
Dinit.c22 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()
Dopen.c124 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()
Dfsopen.c174 lookup_flags = LOOKUP_FOLLOW | LOOKUP_AUTOMOUNT; in SYSCALL_DEFINE3()
176 lookup_flags &= ~LOOKUP_FOLLOW; in SYSCALL_DEFINE3()
Dnamespace.c1821 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 …]
Dxattr.c652 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()
Dfhandle.c104 lookup_flags = (flag & AT_SYMLINK_FOLLOW) ? LOOKUP_FOLLOW : 0; in SYSCALL_DEFINE5()
Dutimes.c89 lookup_flags |= LOOKUP_FOLLOW; in do_utimes_path()
Dstatfs.c101 unsigned int lookup_flags = LOOKUP_FOLLOW|LOOKUP_AUTOMOUNT; in user_statfs()
Dexec.c131 .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()
Dstat.c193 lookup_flags |= LOOKUP_FOLLOW; in getname_statx_lookup_flags()
/linux-6.1.9/io_uring/
Dxattr.c98 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/
Dload_policy.c43 if (kern_path(tomoyo_loader, LOOKUP_FOLLOW, &path)) { in tomoyo_policy_loader_exists()
Dmount.c136 if (!dev_name || kern_path(dev_name, LOOKUP_FOLLOW, &path)) { in tomoyo_mount_acl()
/linux-6.1.9/fs/coda/
Dpioctl.c69 data.follow ? LOOKUP_FOLLOW : 0, &path); in coda_pioctl()
/linux-6.1.9/include/trace/events/
Dfs.h104 { LOOKUP_FOLLOW, "FOLLOW" }, \
/linux-6.1.9/include/linux/
Dnamei.h21 #define LOOKUP_FOLLOW 0x0001 /* follow links at the end */ macro
/linux-6.1.9/security/apparmor/
Dmount.c438 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/
Dsymlink.c122 ret = kern_path(symname, LOOKUP_FOLLOW|LOOKUP_DIRECTORY, path); in get_target()
/linux-6.1.9/kernel/bpf/
Dinode.c506 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/
Ddev-ioctl.c524 err = kern_path(name, LOOKUP_FOLLOW | LOOKUP_MOUNTPOINT, in autofs_dev_ioctl_ismountpoint()
/linux-6.1.9/drivers/mtd/ubi/
Dkapi.c300 error = kern_path(pathname, LOOKUP_FOLLOW, &path); in ubi_open_volume_path()
/linux-6.1.9/fs/ecryptfs/
Dmain.c527 rc = kern_path(dev_name, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path); in ecryptfs_mount()
/linux-6.1.9/kernel/trace/
Dtrace_uprobe.c588 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/
Dinotify_user.c773 flags |= LOOKUP_FOLLOW; in SYSCALL_DEFINE3()
/linux-6.1.9/block/
Dbdev.c981 error = kern_path(pathname, LOOKUP_FOLLOW, &path); in lookup_bdev()

12