Home
last modified time | relevance | path

Searched refs:O_NOFOLLOW (Results 1 – 22 of 22) 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.h56 #ifndef O_NOFOLLOW
57 #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/tools/testing/selftests/landlock/
H A Dbase_test.c183 open("/tmp", O_PATH | O_NOFOLLOW | O_DIRECTORY | O_CLOEXEC); in TEST()
206 open("/tmp", O_PATH | O_NOFOLLOW | O_DIRECTORY | O_CLOEXEC); in TEST()
278 open("/tmp", O_PATH | O_NOFOLLOW | O_DIRECTORY | O_CLOEXEC); in TEST()
/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.c435 return open(dir, O_DIRECTORY | O_CLOEXEC | O_NOFOLLOW | O_PATH); in dirfd_open_opath()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtoken.c237 fd = open(path, O_WRONLY | O_CLOEXEC | O_NOCTTY | O_NOFOLLOW); in write_file()
/linux/fs/9p/
H A Dvfs_inode_dotl.c179 { O_NOFOLLOW, P9_DOTL_NOFOLLOW }, in v9fs_mapped_dotl_flags()
/linux/fs/
H A Dcoredump.c647 int open_flags = O_CREAT | O_WRONLY | O_NOFOLLOW | in do_coredump()
/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/mount_setattr/
H A Dmount_setattr_test.c176 fd = open(path, O_WRONLY | O_CLOEXEC | O_NOCTTY | O_NOFOLLOW); in write_file()
/linux/fs/nfs/
H A Ddir.c2162 if (!(open_flags & O_NOFOLLOW)) in nfs_atomic_open()