Home
last modified time | relevance | path

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

12

/linux/fs/
A 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()
A Dopen.c123 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 Dfsopen.c174 lookup_flags = LOOKUP_FOLLOW | LOOKUP_AUTOMOUNT; in SYSCALL_DEFINE3()
176 lookup_flags &= ~LOOKUP_FOLLOW; in SYSCALL_DEFINE3()
A Dxattr.c611 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 Dnamespace.c1772 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 Dfhandle.c104 lookup_flags = (flag & AT_SYMLINK_FOLLOW) ? LOOKUP_FOLLOW : 0; in SYSCALL_DEFINE5()
A Dutimes.c89 lookup_flags |= LOOKUP_FOLLOW; in do_utimes_path()
A Dexec.c132 .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 Dstatfs.c101 unsigned int lookup_flags = LOOKUP_FOLLOW|LOOKUP_AUTOMOUNT; in user_statfs()
A Dstat.c214 lookup_flags |= LOOKUP_FOLLOW; in vfs_statx()
/linux/security/tomoyo/
A Dload_policy.c43 if (kern_path(tomoyo_loader, LOOKUP_FOLLOW, &path)) { in tomoyo_policy_loader_exists()
A Dmount.c136 if (!dev_name || kern_path(dev_name, LOOKUP_FOLLOW, &path)) { in tomoyo_mount_acl()
/linux/fs/coda/
A Dpioctl.c69 data.follow ? LOOKUP_FOLLOW : 0, &path); in coda_pioctl()
/linux/include/linux/
A Dnamei.h21 #define LOOKUP_FOLLOW 0x0001 /* follow links at the end */ macro
/linux/include/trace/events/
A Dfs.h104 { LOOKUP_FOLLOW, "FOLLOW" }, \
/linux/security/apparmor/
A 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/fs/configfs/
A Dsymlink.c122 ret = kern_path(symname, LOOKUP_FOLLOW|LOOKUP_DIRECTORY, path); in get_target()
/linux/kernel/bpf/
A 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/fs/autofs/
A Ddev-ioctl.c524 err = kern_path(name, LOOKUP_FOLLOW | LOOKUP_MOUNTPOINT, in autofs_dev_ioctl_ismountpoint()
/linux/drivers/mtd/ubi/
A Dkapi.c300 error = kern_path(pathname, LOOKUP_FOLLOW, &path); in ubi_open_volume_path()
/linux/kernel/trace/
A Dtrace_uprobe.c587 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 Dmain.c527 rc = kern_path(dev_name, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path); in ecryptfs_mount()
/linux/fs/notify/inotify/
A Dinotify_user.c752 flags |= LOOKUP_FOLLOW; in SYSCALL_DEFINE3()
/linux/block/
A Dbdev.c985 error = kern_path(pathname, LOOKUP_FOLLOW, &path); in lookup_bdev()
/linux/fs/nfsd/
A Dnfs4recover.c656 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()

Completed in 54 milliseconds

12