/linux/include/uapi/asm-generic/ |
H A D | fcntl.h | 55 #ifndef O_NOFOLLOW 56 #define O_NOFOLLOW 00400000 /* don't follow links */ macro
|
/linux/tools/testing/selftests/openat2/ |
H A D | resolve_test.c | 365 { .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 D | openat2_test.c | 179 { .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 D | fcntl.h | 24 #define O_NOFOLLOW 0100000 /* don't follow links */ macro
|
/linux/arch/powerpc/include/uapi/asm/ |
H A D | fcntl.h | 6 #define O_NOFOLLOW 0100000 /* don't follow links */ macro
|
/linux/arch/arm/include/uapi/asm/ |
H A D | fcntl.h | 6 #define O_NOFOLLOW 0100000 /* don't follow links */ macro
|
/linux/arch/m68k/include/uapi/asm/ |
H A D | fcntl.h | 6 #define O_NOFOLLOW 0100000 /* don't follow links */ macro
|
/linux/arch/parisc/include/uapi/asm/ |
H A D | fcntl.h | 18 #define O_NOFOLLOW 000000200 /* don't follow links */ macro
|
/linux/arch/alpha/include/uapi/asm/ |
H A D | fcntl.h | 14 #define O_NOFOLLOW 0200000 /* don't follow links */ macro
|
/linux/rust/kernel/fs/ |
H A D | file.rs | 54 pub const O_NOFOLLOW: u32 = bindings::O_NOFOLLOW; constant
|
/linux/tools/testing/selftests/landlock/ |
H A D | base_test.c | 227 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 D | fcntl.h | 12 FASYNC | O_DIRECT | O_LARGEFILE | O_DIRECTORY | O_NOFOLLOW | \
|
/linux/include/trace/misc/ |
H A D | fs.h | 38 { O_NOFOLLOW, "O_NOFOLLOW" }, \
|
/linux/tools/testing/selftests/move_mount_set_group/ |
H A D | move_mount_set_group_test.c | 64 fd = open(path, O_WRONLY | O_CLOEXEC | O_NOCTTY | O_NOFOLLOW); in write_file()
|
/linux/tools/testing/selftests/cgroup/lib/ |
H A D | cgroup_util.c | 457 return open(dir, O_DIRECTORY | O_CLOEXEC | O_NOFOLLOW | O_PATH); in dirfd_open_opath()
|
/linux/arch/um/os-Linux/skas/ |
H A D | process.c | 422 stub_exe_fd = open(tmpfile, O_RDONLY | O_CLOEXEC | O_NOFOLLOW); in init_stub_exe_fd()
|
/linux/tools/testing/selftests/pidfd/ |
H A D | pidfd_file_handle_test.c | 406 { O_NOFOLLOW, "O_NOFOLLOW" }, in TEST_F()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | token.c | 233 fd = open(path, O_WRONLY | O_CLOEXEC | O_NOCTTY | O_NOFOLLOW); in write_file()
|
/linux/tools/mm/ |
H A D | page-types.c | 1051 fd = checked_open(name, O_RDONLY|O_NOATIME|O_NOFOLLOW); in walk_file()
|
/linux/fs/ |
H A D | coredump.c | 882 int open_flags = O_CREAT | O_WRONLY | O_NOFOLLOW | O_LARGEFILE | O_EXCL; in coredump_file()
|
/linux/tools/testing/selftests/mount_setattr/ |
H A D | mount_setattr_test.c | 166 fd = open(path, O_WRONLY | O_CLOEXEC | O_NOCTTY | O_NOFOLLOW); in write_file()
|
/linux/fs/nfs/ |
H A D | dir.c | 2153 if (!(open_flags & O_NOFOLLOW)) in nfs_atomic_open()
|
/linux/fs/ceph/ |
H A D | file.c | 48 ceph_sys2wire(O_NOFOLLOW); in ceph_flags_sys2wire()
|
/linux/fs/smb/client/ |
H A D | file.c | 446 if (flags & O_NOFOLLOW) in cifs_posix_convert_flags() 575 * O_FASYNC, O_NOFOLLOW, O_NONBLOCK need further investigation in cifs_nt_open()
|