Home
last modified time | relevance | path

Searched refs:O_PATH (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.4/include/uapi/asm-generic/
Dfcntl.h84 #ifndef O_PATH
85 #define O_PATH 010000000 macro
/Linux-v5.4/tools/include/uapi/asm-generic/
Dfcntl.h83 #ifndef O_PATH
84 #define O_PATH 010000000 macro
/Linux-v5.4/tools/testing/selftests/exec/
Dexecveat.c233 int dot_dfd_path = open_or_die(".", O_DIRECTORY|O_RDONLY|O_PATH); in run_tests()
236 int fd_path = open_or_die("execveat", O_RDONLY|O_PATH); in run_tests()
240 O_RDONLY|O_PATH); in run_tests()
244 O_RDONLY|O_PATH); in run_tests()
/Linux-v5.4/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()
Dproc-pid-vm.c269 if (open("/", O_RDONLY|O_DIRECTORY|O_PATH) != 0) { in main()
/Linux-v5.4/arch/parisc/include/uapi/asm/
Dfcntl.h23 #define O_PATH 020000000 macro
/Linux-v5.4/arch/alpha/include/uapi/asm/
Dfcntl.h35 #define O_PATH 040000000 macro
/Linux-v5.4/arch/sparc/include/uapi/asm/
Dfcntl.h38 #define O_PATH 0x1000000 macro
/Linux-v5.4/include/linux/
Dfcntl.h12 O_NOATIME | O_CLOEXEC | O_PATH | __O_TMPFILE)
/Linux-v5.4/tools/perf/trace/beauty/
Dopen_flags.c58 #ifdef O_PATH in open__scnprintf_flags()
/Linux-v5.4/fs/
Dopen.c750 if (unlikely(f->f_flags & O_PATH)) { in do_dentry_open()
991 } else if (flags & O_PATH) { in build_open_flags()
996 flags &= O_DIRECTORY | O_NOFOLLOW | O_PATH; in build_open_flags()
1013 op->intent = flags & O_PATH ? 0 : LOOKUP_OPEN; in build_open_flags()
Dnamespace.c2351 file = dentry_open(path, O_PATH, current_cred()); in open_detached_copy()
2399 file = dentry_open(&path, O_PATH, current_cred()); in SYSCALL_DEFINE3()
3485 file = dentry_open(&newmount, O_PATH, fc->cred); in SYSCALL_DEFINE3()
Dnamei.c3520 } else if (unlikely(file->f_flags & O_PATH)) { in path_openat()
/Linux-v5.4/net/unix/
Daf_unix.c2543 f = dentry_open(&path, O_PATH, current_cred()); in unix_open_file()