Home
last modified time | relevance | path

Searched refs:O_DIRECTORY (Results 1 – 25 of 130) sorted by relevance

123456

/external/strace/xlat/
Dopen_mode_flags.h528 #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 …]
Dopen_mode_flags.in170 /* 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/
Dfcntl.h53 #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/
Dexecveat.c229 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/
Dsymlinkat01.c171 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/
Dopenat.c40 # define STRACE_O_TMPFILE (O_TMPFILE & ~O_DIRECTORY)
87 { ARG_STR(O_DIRECTORY) }, in main()
Dreaddir.c78 assert(!open(".", O_RDONLY | O_DIRECTORY)); in main()
/external/strace/tests/
Dopenat.c40 # define STRACE_O_TMPFILE (O_TMPFILE & ~O_DIRECTORY)
87 { ARG_STR(O_DIRECTORY) }, in main()
Dreaddir.c78 assert(!open(".", O_RDONLY | O_DIRECTORY)); in main()
/external/strace/tests-mx32/
Dopenat.c40 # define STRACE_O_TMPFILE (O_TMPFILE & ~O_DIRECTORY)
87 { ARG_STR(O_DIRECTORY) }, in main()
Dreaddir.c78 assert(!open(".", O_RDONLY | O_DIRECTORY)); in main()
/external/ltp/testcases/kernel/syscalls/readdir/
Dreaddir21.c106 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/
Dlinkat01.c236 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/
Drenameat202.c96 olddirfd = SAFE_OPEN(cleanup, TEST_DIR, O_DIRECTORY); in setup()
97 newdirfd = SAFE_OPEN(cleanup, TEST_DIR2, O_DIRECTORY); in setup()
Drenameat201.c119 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/
Dfd-001-lookup.c146 fd = open("/", O_PATH|O_DIRECTORY); in main()
153 fd = open("/", O_PATH|O_DIRECTORY); in main()
Dfd-003-kthread.c48 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/
Dnfs05_make_tree.c152 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/
Dfcntl.h5 #define O_DIRECTORY 040000 /* must be a directory */ macro
/external/kernel-headers/original/uapi/asm-arm64/asm/
Dfcntl.h23 #define O_DIRECTORY 040000 /* must be a directory */ macro
/external/ltp/testcases/kernel/syscalls/renameat/
Drenameat01.c169 olddirfd = SAFE_OPEN(cleanup, TESTDIR, O_DIRECTORY); in setup()
170 newdirfd = SAFE_OPEN(cleanup, NEW_TESTDIR, O_DIRECTORY); in setup()
/external/syzkaller/sys/freebsd/
Dposix_fs_amd64.const8 O_DIRECTORY = 131072
/external/syzkaller/sys/netbsd/
Dfs_amd64.const9 O_DIRECTORY = 2097152
/external/syzkaller/sys/fuchsia/
Dposix_amd64.const13 O_DIRECTORY = 524288
Dposix_arm64.const13 O_DIRECTORY = 524288

123456