Home
last modified time | relevance | path

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

/linux/include/uapi/asm-generic/
H A Dfcntl.h55 #ifndef O_NOFOLLOW
56 #define O_NOFOLLOW 00400000 /* don't follow links */ macro
/linux/tools/testing/selftests/openat2/
H A Dresolve_test.c365 { .name = "[no_magiclinks] normal path to magic-link with O_NOFOLLOW", in test_openat2_opath_tests()
366 .path = "/proc/self/exe", .how.flags = O_NOFOLLOW, in test_openat2_opath_tests()
375 { .name = "[no_magiclinks] magic-link path component with O_NOFOLLOW", in test_openat2_opath_tests()
376 .path = "/proc/self/root/etc", .how.flags = O_NOFOLLOW, in test_openat2_opath_tests()
417 { .name = "[no_symlinks] relative symlink with O_NOFOLLOW", in test_openat2_opath_tests()
418 .path = "relsym", .how.flags = O_NOFOLLOW, in test_openat2_opath_tests()
421 { .name = "[no_symlinks] absolute symlink with O_NOFOLLOW", in test_openat2_opath_tests()
422 .path = "abssym", .how.flags = O_NOFOLLOW, in test_openat2_opath_tests()
425 { .name = "[no_symlinks] trailing symlink with O_NOFOLLOW", in test_openat2_opath_tests()
426 .path = "cheeky/garbagelink", .how.flags = O_NOFOLLOW, in test_openat2_opath_tests()
[all...]
H A Dopenat2_test.c179 { .name = "compatible flags (O_PATH | O_NOFOLLOW)", in test_openat2_flags()
180 .how.flags = O_PATH | O_NOFOLLOW }, in test_openat2_flags()
/linux/arch/arm64/include/uapi/asm/
H A Dfcntl.h24 #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/m68k/include/uapi/asm/
H A Dfcntl.h6 #define O_NOFOLLOW 0100000 /* don't follow links */ macro
/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/rust/kernel/fs/
H A Dfile.rs54 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); 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/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/lib/
H A Dcgroup_util.c457 return open(dir, O_DIRECTORY | O_CLOEXEC | O_NOFOLLOW | O_PATH); in dirfd_open_opath()
/linux/arch/um/os-Linux/skas/
H A Dprocess.c422 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/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/mm/
H A Dpage-types.c1051 fd = checked_open(name, O_RDONLY|O_NOATIME|O_NOFOLLOW); in walk_file()
/linux/fs/
H A Dcoredump.c882 int open_flags = O_CREAT | O_WRONLY | O_NOFOLLOW | O_LARGEFILE | O_EXCL; in coredump_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/nfs/
H A Ddir.c2153 if (!(open_flags & O_NOFOLLOW)) in nfs_atomic_open()
/linux/fs/ceph/
H A Dfile.c48 ceph_sys2wire(O_NOFOLLOW); in ceph_flags_sys2wire()
/linux/fs/smb/client/
H A Dfile.c446 if (flags & O_NOFOLLOW) in cifs_posix_convert_flags()
575 * O_FASYNC, O_NOFOLLOW, O_NONBLOCK need further investigation in cifs_nt_open()