HomeSort by relevance Sort by last modified time
    Searched refs:O_PATH (Results 1 - 25 of 41) sorted by null

1 2

  /external/ltp/include/lapi/
fcntl.h 114 #ifndef O_PATH
116 # define O_PATH 0x1000000
118 # define O_PATH 010000000
  /bionic/libc/bionic/
fchmod.cpp 47 // fd could be an O_PATH file descriptor, and the kernel
53 // on an O_PATH file descriptor, and "man open" documents fchmod
54 // on O_PATH file descriptors as returning EBADF.
56 if (fd_flag == -1 || (fd_flag & O_PATH) == 0) {
fchmodat.cpp 50 int fd = openat(dirfd, pathname, O_PATH | O_NOFOLLOW | O_CLOEXEC);
58 // We rely on the O_PATH compatibility layer added in the
fgetxattr.cpp 48 // fd could be an O_PATH file descriptor, and the kernel
52 if (fd_flag == -1 || (fd_flag & O_PATH) == 0) {
flistxattr.cpp 47 // fd could be an O_PATH file descriptor, and the kernel
51 if (fd_flag == -1 || (fd_flag & O_PATH) == 0) {
fsetxattr.cpp 47 // fd could be an O_PATH file descriptor, and the kernel
51 if (fd_flag == -1 || (fd_flag & O_PATH) == 0) {
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/asm-generic/
fcntl.h 83 #ifndef O_PATH
84 #define O_PATH 010000000
  /bionic/libc/kernel/uapi/asm-generic/
fcntl.h 72 #ifndef O_PATH
73 #define O_PATH 010000000
  /external/kernel-headers/original/uapi/asm-generic/
fcntl.h 84 #ifndef O_PATH
85 #define O_PATH 010000000
  /external/strace/tests/
openat.c 106 # ifdef O_PATH
107 { ARG_STR(O_PATH) },
  /external/strace/tests-m32/
openat.c 106 # ifdef O_PATH
107 { ARG_STR(O_PATH) },
  /external/strace/tests-mx32/
openat.c 106 # ifdef O_PATH
107 { ARG_STR(O_PATH) },
  /bionic/tests/
sys_xattr_test.cpp 70 int fd = open(tf.filename, O_PATH);
88 int fd = open(tf.filename, O_PATH);
117 int fd = open(tf.filename, O_PATH);
  /external/iptables/extensions/
libxt_cgroup.c 7 O_PATH = 1,
39 .id = O_PATH,
70 case O_PATH:
  /external/strace/xlat/
open_mode_flags.h 65 #if defined(O_PATH) || (defined(HAVE_DECL_O_PATH) && HAVE_DECL_O_PATH)
66 XLAT(O_PATH),
  /external/toybox/lib/
portability.h 212 #ifndef O_PATH
213 #define O_PATH 010000000
  /external/ltp/testcases/kernel/syscalls/open/
open13.c 19 * Basic test for O_PATH flag of open(2).
83 fd = SAFE_OPEN(cleanup, TESTFILE, O_RDWR | O_PATH);
  /external/linux-kselftest/tools/testing/selftests/exec/
execveat.c 9 #define _GNU_SOURCE /* to get O_PATH, AT_EMPTY_PATH */
232 int dot_dfd_path = open_or_die(".", O_DIRECTORY|O_RDONLY|O_PATH);
235 int fd_path = open_or_die("execveat", O_RDONLY|O_PATH);
239 O_RDONLY|O_PATH);
243 O_RDONLY|O_PATH);
272 /* O_PATH fd */
283 /* Mess with executable file that's already open with O_PATH */
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/bits/
fcntl.h 56 # define O_PATH 010000000 /* Resolve pathname but do not open file. */
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/bits/
fcntl.h 57 # define O_PATH 010000000 /* Resolve pathname but do not open file. */
  /external/adhd/cras/src/tests/
file_wait_unittest.cc 254 current_dir = open(".", O_RDONLY|O_PATH|O_DIRECTORY);
  /external/toybox/toys/posix/
ls.c 203 // even O_PATH? But no, this is 1990's tech.)
205 O_PATH|(O_NOFOLLOW*!(toys.optflags&FLAG_L)));
214 // query the same data in by path, but can't do it through an O_PATH
  /system/extras/ioshark/
compile_ioshark.c 61 { "O_PATH", O_PATH }
  /prebuilts/go/darwin-x86/src/syscall/
zerrors_linux_arm64.go     [all...]
zerrors_linux_mips.go     [all...]

Completed in 1008 milliseconds

1 2