Home
last modified time | relevance | path

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

/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/tools/include/uapi/asm-generic/
H A Dfcntl.h
/linux/include/uapi/asm-generic/
H A Dfcntl.h55 #ifndef O_NOFOLLOW
56 #define O_NOFOLLOW 00400000 /* 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/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/rust/kernel/fs/
H A Dfile.rs61 pub const O_NOFOLLOW: u32 = bindings::O_NOFOLLOW; constant
/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);
/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/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/tools/testing/selftests/cgroup/
H A Dcgroup_util.c
/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/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/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.c239 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()
/linux/fs/smb/client/
H A Dfile.c460 if (flags & O_NOFOLLOW) in cifs_posix_convert_flags()
/linux/fs/ceph/
H A Dfile.c67 ceph_sys2wire(O_NOFOLLOW); in ceph_flags_sys2wire()