Home
last modified time | relevance | path

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

12

/external/strace/xlat/
Dopen_mode_flags.in17 O_DIRECTORY
22 #if defined(O_TMPFILE) && defined(O_DIRECTORY)
23 /* The kernel & C libraries often inline O_DIRECTORY */
24 { O_TMPFILE & ~O_DIRECTORY, "O_TMPFILE" },
Dopen_mode_flags.h4 #if defined(O_TMPFILE) && defined(O_DIRECTORY)
54 #if defined(O_DIRECTORY) || (defined(HAVE_DECL_O_DIRECTORY) && HAVE_DECL_O_DIRECTORY)
55 XLAT(O_DIRECTORY),
69 #if defined(O_TMPFILE) && defined(O_DIRECTORY)
71 { O_TMPFILE & ~O_DIRECTORY, "O_TMPFILE" },
/external/libchrome/sandbox/linux/services/
Dproc_util_unittest.cc17 base::ScopedFD proc_fd(open("/proc/", O_RDONLY | O_DIRECTORY)); in TEST()
32 int proc_fd = open("/proc/", O_RDONLY | O_DIRECTORY); in TEST()
40 int proc_fd = open("/proc/", O_RDONLY | O_DIRECTORY); in TEST()
52 int open_directory_fd = open("/proc/self/", O_RDONLY | O_DIRECTORY); in TEST()
Dproc_util.cc34 HANDLE_EINTR(open(path, O_RDONLY | O_DIRECTORY | O_CLOEXEC))); in OpenDirectory()
44 openat(proc_fd, "self/fd/", O_DIRECTORY | O_RDONLY | O_CLOEXEC)); in CountOpenFds()
74 openat(proc_fd, "self/fd/", O_DIRECTORY | O_RDONLY | O_CLOEXEC); in HasOpenDirectory()
110 HANDLE_EINTR(open("/proc/", O_DIRECTORY | O_RDONLY | O_CLOEXEC))); in HasOpenDirectory()
Dthread_helpers_unittests.cc44 fd_ = open("/proc/", O_RDONLY | O_DIRECTORY); in ScopedProc()
/external/kernel-headers/original/uapi/asm-generic/
Dfcntl.h52 #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)
/external/kernel-headers/original/uapi/asm-arm64/asm/
Dfcntl.h22 #define O_DIRECTORY 040000 /* must be a directory */ macro
/external/kernel-headers/original/uapi/asm-arm/asm/
Dfcntl.h4 #define O_DIRECTORY 040000 /* must be a directory */ macro
/external/bison/lib/
Dfcntl.in.h207 #ifndef O_DIRECTORY
208 # define O_DIRECTORY 0
/external/strace/tests/
Dreaddir.c82 assert(!open(".", O_RDONLY | O_DIRECTORY)); in main()
Dfile_handle.c79 assert(open_by_handle_at(-1, handle, O_RDONLY | O_DIRECTORY)); in main()
Dgetdents.c112 assert(!open(".", O_RDONLY | O_DIRECTORY)); in main()
Dgetdents64.c116 assert(!open(".", O_RDONLY | O_DIRECTORY)); in main()
/external/libchrome/sandbox/linux/suid/
Dprocess_util_linux.c41 const int dirfd = open(oom_adj, O_RDONLY | O_DIRECTORY); in AdjustOOMScore()
/external/google-breakpad/src/client/linux/minidump_writer/
Ddirectory_reader_unittest.cc59 const int fd = open("/proc/self", O_DIRECTORY | O_RDONLY); in TEST()
Dlinux_ptrace_dumper.cc315 const int fd = sys_open(task_path, O_RDONLY | O_DIRECTORY, 0); in EnumerateThreads()
/external/libchrome/base/files/
Ddir_reader_linux.h34 : fd_(open(directory_path, O_RDONLY | O_DIRECTORY)), in DirReaderLinux()
Ddir_reader_posix_unittest.cc35 const int prev_wd = open(".", O_RDONLY | O_DIRECTORY); in TEST()
/external/bison/linux-lib/
Dfcntl.h519 #ifndef O_DIRECTORY
520 # define O_DIRECTORY 0 macro
/external/bison/darwin-lib/
Dfcntl.h519 #ifndef O_DIRECTORY
520 # define O_DIRECTORY 0 macro
/external/libchrome/sandbox/linux/syscall_broker/
Dbroker_file_permission.cc183 O_DIRECTORY | O_EXCL | O_LARGEFILE | O_NOATIME | in CheckOpen()
Dbroker_file_permission_unittest.cc137 case O_DIRECTORY: in CheckPerm()
/external/minijail/
Dlibminijail.c1055 oldroot = open("/", O_DIRECTORY | O_RDONLY); in enter_pivot_root()
1058 newroot = open(j->chrootdir, O_DIRECTORY | O_RDONLY); in enter_pivot_root()
/external/google-breakpad/src/third_party/lss/
Dlinux_syscall_support.h593 #ifndef O_DIRECTORY
595 #define O_DIRECTORY 0040000 macro
597 #define O_DIRECTORY 0200000 macro
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_linux.cc649 uptr openrv = internal_open(task_directory_path, O_RDONLY | O_DIRECTORY); in ThreadLister()

12