| /linux-6.15/include/uapi/asm-generic/ |
| H A D | fcntl.h | 55 #ifndef O_NOFOLLOW 56 #define O_NOFOLLOW 00400000 /* don't follow links */ macro
|
| /linux-6.15/tools/testing/selftests/openat2/ |
| H A D | resolve_test.c | 366 .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 D | openat2_test.c | 180 .how.flags = O_PATH | O_NOFOLLOW }, in test_openat2_flags()
|
| /linux-6.15/arch/arm/include/uapi/asm/ |
| H A D | fcntl.h | 6 #define O_NOFOLLOW 0100000 /* don't follow links */ macro
|
| /linux-6.15/arch/m68k/include/uapi/asm/ |
| H A D | fcntl.h | 6 #define O_NOFOLLOW 0100000 /* don't follow links */ macro
|
| /linux-6.15/arch/arm64/include/uapi/asm/ |
| H A D | fcntl.h | 24 #define O_NOFOLLOW 0100000 /* don't follow links */ macro
|
| /linux-6.15/arch/powerpc/include/uapi/asm/ |
| H A D | fcntl.h | 6 #define O_NOFOLLOW 0100000 /* don't follow links */ macro
|
| /linux-6.15/arch/parisc/include/uapi/asm/ |
| H A D | fcntl.h | 18 #define O_NOFOLLOW 000000200 /* don't follow links */ macro
|
| /linux-6.15/arch/alpha/include/uapi/asm/ |
| H A D | fcntl.h | 14 #define O_NOFOLLOW 0200000 /* don't follow links */ macro
|
| /linux-6.15/rust/kernel/fs/ |
| H A D | file.rs | 54 pub const O_NOFOLLOW: u32 = bindings::O_NOFOLLOW; constant
|
| /linux-6.15/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-6.15/include/linux/ |
| H A D | fcntl.h | 12 FASYNC | O_DIRECT | O_LARGEFILE | O_DIRECTORY | O_NOFOLLOW | \
|
| /linux-6.15/include/trace/misc/ |
| H A D | fs.h | 38 { O_NOFOLLOW, "O_NOFOLLOW" }, \
|
| /linux-6.15/tools/testing/selftests/filesystems/binderfs/ |
| H A D | binderfs_test.c | 257 setgroups_fd = open(path, O_WRONLY | O_CLOEXEC | O_NOFOLLOW); in write_id_mapping() 282 fd = open(path, O_WRONLY | O_CLOEXEC | O_NOFOLLOW); in write_id_mapping()
|
| /linux-6.15/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-6.15/fs/ |
| H A D | open.c | 1212 #define O_PATH_FLAGS (O_DIRECTORY | O_NOFOLLOW | O_PATH | O_CLOEXEC) 1325 flags |= O_NOFOLLOW; in build_open_flags() 1331 if (!(flags & O_NOFOLLOW)) in build_open_flags()
|
| H A D | coredump.c | 648 int open_flags = O_CREAT | O_WRONLY | O_NOFOLLOW | in do_coredump()
|
| /linux-6.15/arch/um/os-Linux/skas/ |
| H A D | process.c | 304 stub_exe_fd = open(tmpfile, O_RDONLY | O_CLOEXEC | O_NOFOLLOW); in init_stub_exe_fd()
|
| /linux-6.15/tools/testing/selftests/cgroup/ |
| H A D | cgroup_util.c | 435 return open(dir, O_DIRECTORY | O_CLOEXEC | O_NOFOLLOW | O_PATH); in dirfd_open_opath()
|
| /linux-6.15/tools/testing/selftests/pidfd/ |
| H A D | pidfd_file_handle_test.c | 406 { O_NOFOLLOW, "O_NOFOLLOW" }, in TEST_F()
|
| /linux-6.15/fs/9p/ |
| H A D | vfs_inode_dotl.c | 179 { O_NOFOLLOW, P9_DOTL_NOFOLLOW }, in v9fs_mapped_dotl_flags()
|
| /linux-6.15/tools/testing/selftests/bpf/prog_tests/ |
| H A D | token.c | 238 fd = open(path, O_WRONLY | O_CLOEXEC | O_NOCTTY | O_NOFOLLOW); in write_file()
|
| /linux-6.15/tools/mm/ |
| H A D | page-types.c | 1051 fd = checked_open(name, O_RDONLY|O_NOATIME|O_NOFOLLOW); in walk_file()
|
| /linux-6.15/tools/testing/selftests/mount_setattr/ |
| H A D | mount_setattr_test.c | 197 fd = open(path, O_WRONLY | O_CLOEXEC | O_NOCTTY | O_NOFOLLOW); in write_file()
|
| /linux-6.15/fs/nfs/ |
| H A D | dir.c | 2155 if (!(open_flags & O_NOFOLLOW)) in nfs_atomic_open()
|