Home
last modified time | relevance | path

Searched refs:AT_SYMLINK_NOFOLLOW (Results 1 – 17 of 17) sorted by relevance

/linux/tools/testing/selftests/fchmodat2/
H A Dfchmodat2_test.c49 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 Dxattr.c695 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 Dutimes.c86 if (flags & ~(AT_SYMLINK_NOFOLLOW | AT_EMPTY_PATH)) in do_utimes_path()
89 if (!(flags & AT_SYMLINK_NOFOLLOW)) in do_utimes_path()
H A Dinit.c84 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 Dopen.c474 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 Dstat.c272 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 Dexec.c888 ~(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 Dnamespace.c2904 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 Dexecveat.c345 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 Dtest-statx.c219 int ret, raw = 0, atflag = AT_SYMLINK_NOFOLLOW; in main()
235 atflag &= ~AT_SYMLINK_NOFOLLOW; in main()
/linux/tools/include/uapi/linux/
H A Dfcntl.h
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dfcntl.h101 #define AT_SYMLINK_NOFOLLOW 0x100 /* Do not follow symbolic macro
/linux/include/uapi/linux/
H A Dfcntl.h101 #define AT_SYMLINK_NOFOLLOW 0x100 /* Do not follow symbolic macro
/linux/tools/testing/selftests/proc/
H A Dfd-003-kthread.c127 rv = sys_statx(fd, pathname, AT_SYMLINK_NOFOLLOW, 0, (void *)stx); in test_lookup_fail()
/linux/init/
H A Dinitramfs.c335 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 Dsyscalls.h1266 AT_SYMLINK_NOFOLLOW); in ksys_lchown()
H A Dfs.h3477 return vfs_fstatat(AT_FDCWD, name, stat, AT_SYMLINK_NOFOLLOW);