Home
last modified time | relevance | path

Searched refs:O_NOFOLLOW (Results 1 – 25 of 28) sorted by relevance

12

/linux/tools/testing/selftests/openat2/
H A Dresolve_test.c366 .path = "/proc/self/exe", .how.flags = O_NOFOLLOW, in test_openat2_opath_tests()
376 .path = "/proc/self/root/etc", .how.flags = O_NOFOLLOW, in test_openat2_opath_tests()
418 .path = "relsym", .how.flags = O_NOFOLLOW, in test_openat2_opath_tests()
422 .path = "abssym", .how.flags = O_NOFOLLOW, in test_openat2_opath_tests()
426 .path = "cheeky/garbagelink", .how.flags = O_NOFOLLOW, in test_openat2_opath_tests()
430 .path = "abscheeky/absself", .how.flags = O_NOFOLLOW, in test_openat2_opath_tests()
434 .path = "abscheeky/garbagelink", .how.flags = O_NOFOLLOW, in test_openat2_opath_tests()
H A Dopenat2_test.c180 .how.flags = O_PATH | O_NOFOLLOW }, in test_openat2_flags()
/linux/include/uapi/asm-generic/
H A Dfcntl.h55 #ifndef O_NOFOLLOW
56 #define O_NOFOLLOW 00400000 /* don't follow links */ macro
/linux/arch/arm/include/uapi/asm/
H A Dfcntl.h6 #define O_NOFOLLOW 0100000 /* don't follow links */ macro
/linux/arch/arm64/include/uapi/asm/
H A Dfcntl.h24 #define O_NOFOLLOW 0100000 /* don't follow links */ macro
/linux/arch/m68k/include/uapi/asm/
H A Dfcntl.h6 #define O_NOFOLLOW 0100000 /* don't follow links */ macro
/linux/arch/powerpc/include/uapi/asm/
H A Dfcntl.h6 #define O_NOFOLLOW 0100000 /* don't follow links */ macro
/linux/rust/kernel/fs/
H A Dfile.rs61 pub const O_NOFOLLOW: u32 = bindings::O_NOFOLLOW; constant
/linux/arch/parisc/include/uapi/asm/
H A Dfcntl.h18 #define O_NOFOLLOW 000000200 /* don't follow links */ macro
/linux/arch/alpha/include/uapi/asm/
H A Dfcntl.h14 #define O_NOFOLLOW 0200000 /* don't follow links */ macro
/linux/tools/testing/selftests/landlock/
H A Dbase_test.c227 open("/tmp", O_PATH | O_NOFOLLOW | O_DIRECTORY | O_CLOEXEC); in TEST()
250 open("/tmp", O_PATH | O_NOFOLLOW | O_DIRECTORY | O_CLOEXEC); in TEST()
404 open("/tmp", O_PATH | O_NOFOLLOW | O_DIRECTORY | O_CLOEXEC); in TEST()
/linux/include/linux/
H A Dfcntl.h12 FASYNC | O_DIRECT | O_LARGEFILE | O_DIRECTORY | O_NOFOLLOW | \
/linux/include/trace/misc/
H A Dfs.h38 { O_NOFOLLOW, "O_NOFOLLOW" }, \
/linux/tools/testing/selftests/filesystems/binderfs/
H A Dbinderfs_test.c258 setgroups_fd = open(path, O_WRONLY | O_CLOEXEC | O_NOFOLLOW); in write_id_mapping()
283 fd = open(path, O_WRONLY | O_CLOEXEC | O_NOFOLLOW); in write_id_mapping()
/linux/tools/testing/selftests/move_mount_set_group/
H A Dmove_mount_set_group_test.c64 fd = open(path, O_WRONLY | O_CLOEXEC | O_NOCTTY | O_NOFOLLOW); in write_file()
/linux/fs/
H A Dopen.c1163 #define O_PATH_FLAGS (O_DIRECTORY | O_NOFOLLOW | O_PATH | O_CLOEXEC)
1276 flags |= O_NOFOLLOW; in build_open_flags()
1282 if (!(flags & O_NOFOLLOW)) in build_open_flags()
H A Dcoredump.c882 int open_flags = O_CREAT | O_WRONLY | O_NOFOLLOW | O_LARGEFILE | O_EXCL; in coredump_file()
/linux/tools/testing/selftests/cgroup/lib/
H A Dcgroup_util.c493 return open(dir, O_DIRECTORY | O_CLOEXEC | O_NOFOLLOW | O_PATH); in dirfd_open_opath()
/linux/kernel/trace/
H A Dtrace_syscalls.c174 { O_NOFOLLOW, "O_NOFOLLOW" }, in sys_enter_openat_print()
429 "{ 0x%x, \"O_NOFOLLOW\" }, ", O_NOFOLLOW); in sys_enter_openat_print_fmt()
/linux/arch/um/os-Linux/skas/
H A Dprocess.c415 stub_exe_fd = open(tmpfile, O_RDONLY | O_CLOEXEC | O_NOFOLLOW); in init_stub_exe_fd()
/linux/tools/testing/selftests/pidfd/
H A Dpidfd_file_handle_test.c406 { O_NOFOLLOW, "O_NOFOLLOW" }, in TEST_F()
/linux/fs/9p/
H A Dvfs_inode_dotl.c179 { O_NOFOLLOW, P9_DOTL_NOFOLLOW }, in v9fs_mapped_dotl_flags()
/linux/tools/mm/
H A Dpage-types.c1051 fd = checked_open(name, O_RDONLY|O_NOATIME|O_NOFOLLOW); in walk_file()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtoken.c233 fd = open(path, O_WRONLY | O_CLOEXEC | O_NOCTTY | O_NOFOLLOW); in write_file()
/linux/tools/testing/selftests/mount_setattr/
H A Dmount_setattr_test.c166 fd = open(path, O_WRONLY | O_CLOEXEC | O_NOCTTY | O_NOFOLLOW); in write_file()

12