/linux-master/arch/alpha/include/uapi/asm/ |
H A D | fcntl.h | 35 #define O_PATH 040000000 macro
|
/linux-master/arch/sparc/include/uapi/asm/ |
H A D | fcntl.h | 38 #define O_PATH 0x1000000 macro
|
/linux-master/tools/perf/trace/beauty/ |
H A D | open_flags.c | 58 #ifdef O_PATH
|
/linux-master/tools/testing/selftests/proc/ |
H A D | fd-001-lookup.c | 146 fd = open("/", O_PATH|O_DIRECTORY); 153 fd = open("/", O_PATH|O_DIRECTORY);
|
/linux-master/arch/parisc/include/uapi/asm/ |
H A D | fcntl.h | 20 #define O_PATH 020000000 macro
|
/linux-master/fs/ |
H A D | namei.c | 3791 } else if (unlikely(file->f_flags & O_PATH)) {
|
H A D | namespace.c | 2684 file = dentry_open(path, O_PATH, current_cred()); 2732 file = dentry_open(&path, O_PATH, current_cred()); 4037 /* Attach to an apparent O_PATH fd with a note that we need to unmount 4040 file = dentry_open(&newmount, O_PATH, fc->cred);
|
H A D | open.c | 917 if (unlikely(f->f_flags & O_PATH)) { 1188 #define O_PATH_FLAGS (O_DIRECTORY | O_NOFOLLOW | O_PATH | O_CLOEXEC) 1197 /* O_PATH beats everything else. */ 1198 if (how.flags & O_PATH) 1268 if (flags & O_PATH) { 1269 /* O_PATH only permits certain other flags to be set. */ 1297 op->intent = flags & O_PATH ? 0 : LOOKUP_OPEN; 1458 /* O_LARGEFILE is only allowed for non-O_PATH. */ 1459 if (!(tmp.flags & O_PATH) && force_o_largefile())
|
/linux-master/fs/smb/server/ |
H A D | smb2pdu.c | 2070 oflags |= O_PATH;
|
/linux-master/include/linux/ |
H A D | fcntl.h | 13 O_NOATIME | O_CLOEXEC | O_PATH | __O_TMPFILE)
|
/linux-master/include/uapi/asm-generic/ |
H A D | fcntl.h | 84 #ifndef O_PATH 85 #define O_PATH 010000000 macro
|
/linux-master/io_uring/ |
H A D | openclose.c | 62 if (!(open->how.flags & O_PATH) && force_o_largefile())
|
/linux-master/net/unix/ |
H A D | af_unix.c | 3085 f = dentry_open(&path, O_PATH, current_cred());
|
/linux-master/samples/landlock/ |
H A D | sandboxer.c | 119 path_beneath.parent_fd = open(path_list[i], O_PATH | O_CLOEXEC);
|
/linux-master/tools/include/uapi/asm-generic/ |
H A D | fcntl.h | 84 #ifndef O_PATH 85 #define O_PATH 010000000 macro
|
/linux-master/tools/perf/tests/ |
H A D | tests-scripts.c | 36 int fd = open(devel_dirs[i], O_PATH); 46 return open(path, O_PATH); 225 fd = openat(dir_fd, ent->d_name, O_PATH);
|
/linux-master/tools/perf/util/ |
H A D | pmu.c | 722 fd = perf_pmu__pathname_fd(dirfd, name, "cpumask", O_PATH);
|
H A D | print-events.c | 66 int events_fd = open(events_path, O_PATH); 89 dir_fd = openat(events_fd, sys_dirent->d_name, O_PATH);
|
H A D | util.c | 563 int err, fd = openat(dirfd, dirp, O_PATH);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | bpf_obj_pinning.c | 59 /* create O_PATH fd for detached mount */ 148 pin_opts.path_fd = open("/sys/fs/bpf", O_PATH); 213 get_opts.path_fd = open("/sys/fs/bpf", O_PATH);
|
H A D | d_path.c | 68 indicatorfd = open("/tmp/", O_PATH);
|
/linux-master/tools/testing/selftests/cgroup/ |
H A D | cgroup_util.c | 411 return open(dir, O_DIRECTORY | O_CLOEXEC | O_NOFOLLOW | O_PATH);
|
/linux-master/tools/testing/selftests/exec/ |
H A D | execveat.c | 9 #define _GNU_SOURCE /* to get O_PATH, AT_EMPTY_PATH */ 251 int dot_dfd_path = open_or_die(".", O_DIRECTORY|O_RDONLY|O_PATH); 254 int fd_path = open_or_die("execveat", O_RDONLY|O_PATH); 258 O_RDONLY|O_PATH); 262 O_RDONLY|O_PATH); 291 /* O_PATH fd */ 302 /* Mess with executable file that's already open with O_PATH */
|
/linux-master/tools/testing/selftests/fchmodat2/ |
H A D | fchmodat2_test.c | 28 dfd = open(dirname, O_PATH | O_DIRECTORY);
|
/linux-master/tools/testing/selftests/filesystems/statmount/ |
H A D | statmount_test.c | 163 orig_root = open("/", O_PATH);
|