Searched refs:O_PATH (Results 1 – 10 of 10) sorted by relevance
70 int fd = open(tf.path, O_PATH); in TEST()88 int fd = open(tf.path, O_PATH); in TEST()117 int fd = open(tf.path, O_PATH); in TEST()
387 android::base::unique_fd fd(open(A_path.c_str(), O_PATH)); in TEST()
2682 android::base::unique_fd dirfd{open(td.path, O_PATH)}; in TEST()2703 android::base::unique_fd dirfd{open(td.path, O_PATH)}; in TEST()
74 #ifndef O_PATH75 #define O_PATH 010000000 macro
50 ScopedFd fd(openat(dirfd, pathname, O_PATH | O_NOFOLLOW | O_CLOEXEC)); in fchmodat()
51 if (fd_flag == -1 || (fd_flag & O_PATH) == 0) { in flistxattr()
56 if (fd_flag == -1 || (fd_flag & O_PATH) == 0) { in fchmod()
51 if (fd_flag == -1 || (fd_flag & O_PATH) == 0) { in fsetxattr()
52 if (fd_flag == -1 || (fd_flag & O_PATH) == 0) { in fgetxattr()
54 ScopedFd fd(open(path, O_PATH | O_CLOEXEC)); in realpath()