/linux/tools/testing/selftests/fchmodat2/ |
H A D | fchmodat2_test.c | 49 int ret = fstatat(dfd, filename, &st, AT_SYMLINK_NOFOLLOW); in expect_mode() 73 ret = sys_fchmodat2(dfd, "regfile", 0600, AT_SYMLINK_NOFOLLOW); in test_regfile() 105 ret = sys_fchmodat2(dfd, "symlink", 0600, AT_SYMLINK_NOFOLLOW); in test_symlink()
|
/linux/fs/ |
H A D | xattr.c | 695 if ((at_flags & ~(AT_SYMLINK_NOFOLLOW | AT_EMPTY_PATH)) != 0) in path_setxattrat() 698 if (!(at_flags & AT_SYMLINK_NOFOLLOW)) in path_setxattrat() 754 return path_setxattrat(AT_FDCWD, pathname, AT_SYMLINK_NOFOLLOW, name, in SYSCALL_DEFINE5() 842 if ((at_flags & ~(AT_SYMLINK_NOFOLLOW | AT_EMPTY_PATH)) != 0) in path_getxattrat() 857 if (!(at_flags & AT_SYMLINK_NOFOLLOW)) in path_getxattrat() 897 return path_getxattrat(AT_FDCWD, pathname, AT_SYMLINK_NOFOLLOW, name, in SYSCALL_DEFINE4() 976 if ((at_flags & ~(AT_SYMLINK_NOFOLLOW | AT_EMPTY_PATH)) != 0) in path_listxattrat() 987 lookup_flags = (at_flags & AT_SYMLINK_NOFOLLOW) ? 0 : LOOKUP_FOLLOW; in path_listxattrat() 1007 return path_listxattrat(AT_FDCWD, pathname, AT_SYMLINK_NOFOLLOW, list, size); in SYSCALL_DEFINE3() 1073 if ((at_flags & ~(AT_SYMLINK_NOFOLLOW | AT_EMPTY_PATH)) != 0) in path_removexattrat() [all …]
|
H A D | utimes.c | 86 if (flags & ~(AT_SYMLINK_NOFOLLOW | AT_EMPTY_PATH)) in do_utimes_path() 89 if (!(flags & AT_SYMLINK_NOFOLLOW)) in do_utimes_path()
|
H A D | init.c | 84 int lookup_flags = (flags & AT_SYMLINK_NOFOLLOW) ? 0 : LOOKUP_FOLLOW; in init_chown() 128 int lookup_flags = (flags & AT_SYMLINK_NOFOLLOW) ? 0 : LOOKUP_FOLLOW; in init_stat()
|
H A D | open.c | 474 if (flags & ~(AT_EACCESS | AT_SYMLINK_NOFOLLOW | AT_EMPTY_PATH)) in do_faccessat() 477 if (flags & AT_SYMLINK_NOFOLLOW) in do_faccessat() 680 if (unlikely(flags & ~(AT_SYMLINK_NOFOLLOW | AT_EMPTY_PATH))) in do_fchmodat() 683 lookup_flags = (flags & AT_SYMLINK_NOFOLLOW) ? 0 : LOOKUP_FOLLOW; in do_fchmodat() 800 if ((flag & ~(AT_SYMLINK_NOFOLLOW | AT_EMPTY_PATH)) != 0) in do_fchownat() 803 lookup_flags = (flag & AT_SYMLINK_NOFOLLOW) ? 0 : LOOKUP_FOLLOW; in do_fchownat() 839 AT_SYMLINK_NOFOLLOW); in SYSCALL_DEFINE3()
|
H A D | stat.c | 272 if (!(flags & AT_SYMLINK_NOFOLLOW)) in statx_lookup_flags() 339 if (flags & ~(AT_SYMLINK_NOFOLLOW | AT_NO_AUTOMOUNT | AT_EMPTY_PATH | in vfs_statx()
|
H A D | exec.c | 888 ~(AT_SYMLINK_NOFOLLOW | AT_EMPTY_PATH | AT_EXECVE_CHECK)) != 0) in do_open_execat() 890 if (flags & AT_SYMLINK_NOFOLLOW) in do_open_execat()
|
H A D | namespace.c | 2904 AT_SYMLINK_NOFOLLOW | OPEN_TREE_CLONE | in SYSCALL_DEFINE3() 2913 if (flags & AT_SYMLINK_NOFOLLOW) in SYSCALL_DEFINE3() 4778 if (flags & AT_SYMLINK_NOFOLLOW) in build_mount_kattr() 4860 AT_SYMLINK_NOFOLLOW | in SYSCALL_DEFINE5()
|
/linux/tools/testing/selftests/exec/ |
H A D | execveat.c | 345 AT_EMPTY_PATH|AT_SYMLINK_NOFOLLOW); in run_tests() 350 AT_SYMLINK_NOFOLLOW, ELOOP); in run_tests() 352 AT_SYMLINK_NOFOLLOW, ELOOP); in run_tests() 355 AT_SYMLINK_NOFOLLOW, ELOOP); in run_tests() 371 AT_EMPTY_PATH|AT_SYMLINK_NOFOLLOW); in run_tests()
|
/linux/samples/vfs/ |
H A D | test-statx.c | 219 int ret, raw = 0, atflag = AT_SYMLINK_NOFOLLOW; in main() 235 atflag &= ~AT_SYMLINK_NOFOLLOW; in main()
|
/linux/tools/include/uapi/linux/ |
H A D | fcntl.h |
|
/linux/tools/perf/trace/beauty/include/uapi/linux/ |
H A D | fcntl.h | 101 #define AT_SYMLINK_NOFOLLOW 0x100 /* Do not follow symbolic macro
|
/linux/include/uapi/linux/ |
H A D | fcntl.h | 101 #define AT_SYMLINK_NOFOLLOW 0x100 /* Do not follow symbolic macro
|
/linux/tools/testing/selftests/proc/ |
H A D | fd-003-kthread.c | 127 rv = sys_statx(fd, pathname, AT_SYMLINK_NOFOLLOW, 0, (void *)stx); in test_lookup_fail()
|
/linux/init/ |
H A D | initramfs.c | 335 if (!init_stat(path, &st, AT_SYMLINK_NOFOLLOW) && in clean_path() 445 init_chown(collected, uid, gid, AT_SYMLINK_NOFOLLOW); in do_symlink()
|
/linux/include/linux/ |
H A D | syscalls.h | 1266 AT_SYMLINK_NOFOLLOW); in ksys_lchown()
|
H A D | fs.h | 3477 return vfs_fstatat(AT_FDCWD, name, stat, AT_SYMLINK_NOFOLLOW);
|