/external/strace/xlat/ |
D | open_mode_flags.h | 528 #if defined(O_DIRECTORY) || (defined(HAVE_DECL_O_DIRECTORY) && HAVE_DECL_O_DIRECTORY) 530 static_assert((O_DIRECTORY) == (010000), "O_DIRECTORY != 010000"); 533 # define O_DIRECTORY 010000 536 #if defined(O_DIRECTORY) || (defined(HAVE_DECL_O_DIRECTORY) && HAVE_DECL_O_DIRECTORY) 538 static_assert((O_DIRECTORY) == (040000), "O_DIRECTORY != 040000"); 541 # define O_DIRECTORY 040000 544 #if defined(O_DIRECTORY) || (defined(HAVE_DECL_O_DIRECTORY) && HAVE_DECL_O_DIRECTORY) 546 static_assert((O_DIRECTORY) == (0100000), "O_DIRECTORY != 0100000"); 549 # define O_DIRECTORY 0100000 552 #if defined(O_DIRECTORY) || (defined(HAVE_DECL_O_DIRECTORY) && HAVE_DECL_O_DIRECTORY) [all …]
|
D | open_mode_flags.in | 170 /* O_TMPFILE should be listed before O_DIRECTORY and __O_TMPFILE */ 184 O_DIRECTORY 010000 186 O_DIRECTORY 040000 188 O_DIRECTORY 0100000 190 O_DIRECTORY 0200000
|
/external/kernel-headers/original/uapi/asm-generic/ |
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)
|
/external/linux-kselftest/tools/testing/selftests/exec/ |
D | execveat.c | 229 int subdir_dfd = open_or_die("subdir", O_DIRECTORY|O_RDONLY); in run_tests() 231 O_DIRECTORY|O_RDONLY); in run_tests() 232 int dot_dfd = open_or_die(".", O_DIRECTORY|O_RDONLY); in run_tests() 233 int root_dfd = open_or_die("/", O_DIRECTORY|O_RDONLY); in run_tests() 234 int dot_dfd_path = open_or_die(".", O_DIRECTORY|O_RDONLY|O_PATH); in run_tests() 235 int dot_dfd_cloexec = open_or_die(".", O_DIRECTORY|O_RDONLY|O_CLOEXEC); in run_tests()
|
/external/ltp/testcases/kernel/syscalls/symlinkat/ |
D | symlinkat01.c | 171 newdirfd = SAFE_OPEN(cleanup, TEST_DIR2, O_DIRECTORY); in setup_every_copy() 224 olddirfd = SAFE_OPEN(cleanup, TEST_DIR1, O_DIRECTORY); in setup() 225 deldirfd = SAFE_OPEN(cleanup, TEST_DIR3, O_DIRECTORY); in setup()
|
/external/strace/tests-m32/ |
D | openat.c | 40 # define STRACE_O_TMPFILE (O_TMPFILE & ~O_DIRECTORY) 87 { ARG_STR(O_DIRECTORY) }, in main()
|
D | readdir.c | 78 assert(!open(".", O_RDONLY | O_DIRECTORY)); in main()
|
/external/strace/tests/ |
D | openat.c | 40 # define STRACE_O_TMPFILE (O_TMPFILE & ~O_DIRECTORY) 87 { ARG_STR(O_DIRECTORY) }, in main()
|
D | readdir.c | 78 assert(!open(".", O_RDONLY | O_DIRECTORY)); in main()
|
/external/strace/tests-mx32/ |
D | openat.c | 40 # define STRACE_O_TMPFILE (O_TMPFILE & ~O_DIRECTORY) 87 { ARG_STR(O_DIRECTORY) }, in main()
|
D | readdir.c | 78 assert(!open(".", O_RDONLY | O_DIRECTORY)); in main()
|
/external/ltp/testcases/kernel/syscalls/readdir/ |
D | readdir21.c | 106 del_dir_fd = SAFE_OPEN(cleanup, TEST_DIR, O_RDONLY | O_DIRECTORY); in setup() 112 dir_fd = SAFE_OPEN(cleanup, TEST_DIR4, O_RDONLY | O_DIRECTORY); in setup()
|
/external/ltp/testcases/kernel/syscalls/linkat/ |
D | linkat01.c | 236 newdirfd = SAFE_OPEN(cleanup, TEST_DIR2, O_DIRECTORY); in setup_every_copy() 305 olddirfd = SAFE_OPEN(cleanup, TEST_DIR1, O_DIRECTORY); in setup() 306 deldirfd = SAFE_OPEN(cleanup, TEST_DIR3, O_DIRECTORY); in setup()
|
/external/ltp/testcases/kernel/syscalls/renameat2/ |
D | renameat202.c | 96 olddirfd = SAFE_OPEN(cleanup, TEST_DIR, O_DIRECTORY); in setup() 97 newdirfd = SAFE_OPEN(cleanup, TEST_DIR2, O_DIRECTORY); in setup()
|
D | renameat201.c | 119 olddirfd = SAFE_OPEN(cleanup, TEST_DIR, O_DIRECTORY); in setup() 120 newdirfd = SAFE_OPEN(cleanup, TEST_DIR2, O_DIRECTORY); in setup()
|
/external/linux-kselftest/tools/testing/selftests/proc/ |
D | fd-001-lookup.c | 146 fd = open("/", O_PATH|O_DIRECTORY); in main() 153 fd = open("/", O_PATH|O_DIRECTORY); in main()
|
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()
|
/external/ltp/testcases/network/nfs/nfs_stress/ |
D | nfs05_make_tree.c | 152 dirfd = SAFE_OPEN(dirname, O_DIRECTORY); in thread_fn() 187 dirfd = openat(dirfd, "dir", O_DIRECTORY); in thread_fn()
|
/external/kernel-headers/original/uapi/asm-arm/asm/ |
D | fcntl.h | 5 #define O_DIRECTORY 040000 /* must be a directory */ macro
|
/external/kernel-headers/original/uapi/asm-arm64/asm/ |
D | fcntl.h | 23 #define O_DIRECTORY 040000 /* must be a directory */ macro
|
/external/ltp/testcases/kernel/syscalls/renameat/ |
D | renameat01.c | 169 olddirfd = SAFE_OPEN(cleanup, TESTDIR, O_DIRECTORY); in setup() 170 newdirfd = SAFE_OPEN(cleanup, NEW_TESTDIR, O_DIRECTORY); in setup()
|
/external/syzkaller/sys/freebsd/ |
D | posix_fs_amd64.const | 8 O_DIRECTORY = 131072
|
/external/syzkaller/sys/netbsd/ |
D | fs_amd64.const | 9 O_DIRECTORY = 2097152
|
/external/syzkaller/sys/fuchsia/ |
D | posix_amd64.const | 13 O_DIRECTORY = 524288
|
D | posix_arm64.const | 13 O_DIRECTORY = 524288
|