/kernel/linux/linux-5.10/tools/include/uapi/asm-generic/ |
H A D | fcntl.h | 52 #ifndef O_DIRECTORY 53 #define O_DIRECTORY 00200000 /* must be a directory */ macro 92 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) 93 #define O_TMPFILE_MASK (__O_TMPFILE | O_DIRECTORY | O_CREAT)
|
/kernel/linux/linux-5.10/include/uapi/asm-generic/ |
H A D | fcntl.h | 53 #ifndef O_DIRECTORY 54 #define O_DIRECTORY 00200000 /* must be a directory */ macro 93 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) 94 #define O_TMPFILE_MASK (__O_TMPFILE | O_DIRECTORY | O_CREAT)
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-generic/ |
H A D | fcntl.h | 43 #ifndef O_DIRECTORY 44 #define O_DIRECTORY 00200000 macro 65 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) 66 #define O_TMPFILE_MASK (__O_TMPFILE | O_DIRECTORY | O_CREAT)
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/asm-generic/ |
H A D | fcntl.h | 57 #ifndef O_DIRECTORY 58 #define O_DIRECTORY 00200000 macro 79 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) 80 #define O_TMPFILE_MASK (__O_TMPFILE | O_DIRECTORY | O_CREAT)
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-generic/ |
H A D | fcntl.h | 57 #ifndef O_DIRECTORY 58 #define O_DIRECTORY 00200000 macro 79 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) 80 #define O_TMPFILE_MASK (__O_TMPFILE | O_DIRECTORY | O_CREAT)
|
/kernel/linux/linux-6.6/tools/testing/selftests/landlock/ |
H A D | base_test.c | 182 open("/tmp", O_PATH | O_NOFOLLOW | O_DIRECTORY | O_CLOEXEC); in TEST() 205 open("/tmp", O_PATH | O_NOFOLLOW | O_DIRECTORY | O_CLOEXEC); in TEST() 277 open("/tmp", O_PATH | O_NOFOLLOW | O_DIRECTORY | O_CLOEXEC); in TEST() 305 ASSERT_EQ(-1, open("/", O_RDONLY | O_DIRECTORY | O_CLOEXEC)); in TEST() 307 dir_fd = open("/tmp", O_RDONLY | O_DIRECTORY | O_CLOEXEC); in TEST() 317 dir_fd = open("/", O_RDONLY | O_DIRECTORY | O_CLOEXEC); in TEST() 320 dir_fd = open("/tmp", O_RDONLY | O_DIRECTORY | O_CLOEXEC); in TEST()
|
H A D | fs_test.c | 442 open(dir_s1d2, O_PATH | O_DIRECTORY | O_CLOEXEC); in TEST_F_FORK() 445 ruleset_fd = open(dir_s1d1, O_PATH | O_DIRECTORY | O_CLOEXEC); in TEST_F_FORK() 453 ruleset_fd = open(dir_s1d1, O_DIRECTORY | O_CLOEXEC); in TEST_F_FORK() 470 path_beneath.parent_fd = open(dir_s1d2, O_DIRECTORY | O_CLOEXEC); in TEST_F_FORK() 484 open(dir_s1d2, O_PATH | O_DIRECTORY | O_CLOEXEC); in TEST_F_FORK() 570 open(dir_s1d2, O_PATH | O_DIRECTORY | O_CLOEXEC); in TEST_F_FORK() 875 ASSERT_EQ(EACCES, test_open(dir_s1d1, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK() 881 ASSERT_EQ(0, test_open(dir_s1d2, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK() 887 ASSERT_EQ(0, test_open(dir_s1d3, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK() 931 ASSERT_EQ(EACCES, test_open(dir_s1d1, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK() [all...] |
/kernel/linux/linux-5.10/fs/ceph/ |
H A D | util.c | 59 #ifdef O_DIRECTORY /* fixme */ in ceph_flags_to_mode() 60 if ((flags & O_DIRECTORY) == O_DIRECTORY) in ceph_flags_to_mode()
|
/kernel/linux/linux-6.6/fs/ceph/ |
H A D | util.c | 59 #ifdef O_DIRECTORY /* fixme */ in ceph_flags_to_mode() 60 if ((flags & O_DIRECTORY) == O_DIRECTORY) in ceph_flags_to_mode()
|
/kernel/linux/linux-6.6/include/uapi/asm-generic/ |
H A D | fcntl.h | 53 #ifndef O_DIRECTORY 54 #define O_DIRECTORY 00200000 /* must be a directory */ macro 93 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY)
|
/kernel/linux/linux-6.6/tools/include/uapi/asm-generic/ |
H A D | fcntl.h | 53 #ifndef O_DIRECTORY 54 #define O_DIRECTORY 00200000 /* must be a directory */ macro 93 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY)
|
/kernel/linux/linux-5.10/tools/perf/tests/ |
H A D | openat-syscall-tp-fields.c | 18 #ifndef O_DIRECTORY 19 #define O_DIRECTORY 00200000 macro 38 int flags = O_RDONLY | O_DIRECTORY; in test__syscall_openat_tp_fields()
|
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | openat-syscall-tp-fields.c | 19 #ifndef O_DIRECTORY 20 #define O_DIRECTORY 00200000 macro 40 int flags = O_RDONLY | O_DIRECTORY; in test__syscall_openat_tp_fields()
|
/kernel/linux/linux-5.10/tools/perf/trace/beauty/ |
H A D | open_flags.c | 10 #ifndef O_DIRECTORY 11 #define O_DIRECTORY 00200000 macro
|
/kernel/linux/linux-6.6/tools/perf/trace/beauty/ |
H A D | open_flags.c | 10 #ifndef O_DIRECTORY 11 #define O_DIRECTORY 00200000 macro
|
/kernel/liteos_a/compat/posix/src/ |
H A D | stdio.c | 52 if (filep->f_oflags & O_DIRECTORY) { in _lseek() 92 if (filep->f_oflags & O_DIRECTORY) { in _lseek64()
|
/kernel/linux/linux-5.10/tools/testing/selftests/exec/ |
H A D | execveat.c | 230 int subdir_dfd = open_or_die("subdir", O_DIRECTORY|O_RDONLY); in run_tests() 232 O_DIRECTORY|O_RDONLY); in run_tests() 233 int dot_dfd = open_or_die(".", O_DIRECTORY|O_RDONLY); in run_tests() 234 int root_dfd = open_or_die("/", O_DIRECTORY|O_RDONLY); in run_tests() 235 int dot_dfd_path = open_or_die(".", O_DIRECTORY|O_RDONLY|O_PATH); in run_tests() 236 int dot_dfd_cloexec = open_or_die(".", O_DIRECTORY|O_RDONLY|O_CLOEXEC); in run_tests()
|
/kernel/linux/linux-6.6/tools/testing/selftests/exec/ |
H A D | execveat.c | 230 int subdir_dfd = open_or_die("subdir", O_DIRECTORY|O_RDONLY); in run_tests() 232 O_DIRECTORY|O_RDONLY); in run_tests() 233 int dot_dfd = open_or_die(".", O_DIRECTORY|O_RDONLY); in run_tests() 234 int root_dfd = open_or_die("/", O_DIRECTORY|O_RDONLY); in run_tests() 235 int dot_dfd_path = open_or_die(".", O_DIRECTORY|O_RDONLY|O_PATH); in run_tests() 236 int dot_dfd_cloexec = open_or_die(".", O_DIRECTORY|O_RDONLY|O_CLOEXEC); in run_tests()
|
/kernel/linux/linux-5.10/tools/testing/selftests/pidfd/ |
H A D | pidfd_test.c | 69 pidfd = open("/proc/self", O_DIRECTORY | O_CLOEXEC); in test_pidfd_send_signal_simple_success() 116 pidfd = open(buf, O_DIRECTORY | O_CLOEXEC); in test_pidfd_send_signal_exited_fail() 219 pidfd = open(buf, O_DIRECTORY | O_CLOEXEC); in test_pidfd_send_signal_recycled_pid_fail() 355 pidfd = open("/proc/self", O_DIRECTORY | O_CLOEXEC); in test_pidfd_send_signal_syscall_support()
|
/kernel/linux/linux-6.6/tools/testing/selftests/pidfd/ |
H A D | pidfd_test.c | 69 pidfd = open("/proc/self", O_DIRECTORY | O_CLOEXEC); in test_pidfd_send_signal_simple_success() 116 pidfd = open(buf, O_DIRECTORY | O_CLOEXEC); in test_pidfd_send_signal_exited_fail() 220 pidfd = open(buf, O_DIRECTORY | O_CLOEXEC); in test_pidfd_send_signal_recycled_pid_fail() 356 pidfd = open("/proc/self", O_DIRECTORY | O_CLOEXEC); in test_pidfd_send_signal_syscall_support()
|
/kernel/linux/linux-5.10/tools/testing/selftests/proc/ |
H A D | fd-001-lookup.c | 146 fd = open("/", O_PATH|O_DIRECTORY); in main() 153 fd = open("/", O_PATH|O_DIRECTORY); in main()
|
H A D | fd-003-kthread.c | 48 dir_fd = open(buf, O_RDONLY|O_DIRECTORY); in kernel_thread_fd() 90 fd = openat(dir_fd, "fd", O_RDONLY|O_DIRECTORY); in kernel_thread_fd()
|
/kernel/linux/linux-6.6/tools/testing/selftests/proc/ |
H A D | fd-003-kthread.c | 48 dir_fd = open(buf, O_RDONLY|O_DIRECTORY); in kernel_thread_fd() 90 fd = openat(dir_fd, "fd", O_RDONLY|O_DIRECTORY); in kernel_thread_fd()
|
H A D | fd-001-lookup.c | 146 fd = open("/", O_PATH|O_DIRECTORY); in main() 153 fd = open("/", O_PATH|O_DIRECTORY); in main()
|
/kernel/linux/linux-5.10/arch/arm/include/uapi/asm/ |
H A D | fcntl.h | 5 #define O_DIRECTORY 040000 /* must be a directory */ macro
|