Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/tools/testing/selftests/openat2/
H A Dopenat2_test.c165 .how.flags = O_TMPFILE | O_PATH | O_RDWR, .err = -EINVAL }, in test_openat2_flags()
171 .how.flags = O_PATH | O_CLOEXEC }, in test_openat2_flags()
173 .how.flags = O_PATH | O_DIRECTORY }, in test_openat2_flags()
175 .how.flags = O_PATH | O_NOFOLLOW }, in test_openat2_flags()
178 .how.flags = O_PATH | O_RDWR, .err = -EINVAL }, in test_openat2_flags()
180 .how.flags = O_PATH | O_CREAT, .err = -EINVAL }, in test_openat2_flags()
182 .how.flags = O_PATH | O_EXCL, .err = -EINVAL }, in test_openat2_flags()
184 .how.flags = O_PATH | O_NOCTTY, .err = -EINVAL }, in test_openat2_flags()
186 .how.flags = O_PATH | O_DIRECT, .err = -EINVAL }, in test_openat2_flags()
188 .how.flags = O_PATH | O_LARGEFILE, .err = -EINVAL }, in test_openat2_flags()
[all …]
H A Drename_attack_test.c43 dfd = open(dirname, O_PATH | O_DIRECTORY); in setup_testdir()
92 .flags = O_PATH, in test_rename_attack()
102 afd = openat(dfd, "a", O_PATH); in test_rename_attack()
H A Dresolve_test.c59 dfd = open(dirname, O_PATH | O_DIRECTORY); in setup_testdir()
65 tmpfd = openat(dfd, "root", O_PATH | O_DIRECTORY); in setup_testdir()
456 test->how.flags |= O_PATH; in test_openat2_opath_tests()
459 dfd = openat(rootfd, test->dir, O_PATH | O_DIRECTORY); in test_openat2_opath_tests()
/OK3568_Linux_fs/kernel/include/uapi/asm-generic/
H A Dfcntl.h84 #ifndef O_PATH
85 #define O_PATH 010000000 macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/asm-generic/
H A Dfcntl.h84 #ifndef O_PATH
85 #define O_PATH 010000000 macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/asm-generic/
H A Dfcntl.h84 #ifndef O_PATH
85 #define O_PATH 010000000 macro
/OK3568_Linux_fs/kernel/tools/include/uapi/asm-generic/
H A Dfcntl.h83 #ifndef O_PATH
84 #define O_PATH 010000000 macro
/OK3568_Linux_fs/kernel/tools/testing/selftests/exec/
H A Dexecveat.c235 int dot_dfd_path = open_or_die(".", O_DIRECTORY|O_RDONLY|O_PATH); in run_tests()
238 int fd_path = open_or_die("execveat", O_RDONLY|O_PATH); in run_tests()
242 O_RDONLY|O_PATH); in run_tests()
246 O_RDONLY|O_PATH); in run_tests()
/OK3568_Linux_fs/kernel/tools/testing/selftests/proc/
H A Dfd-001-lookup.c146 fd = open("/", O_PATH|O_DIRECTORY); in main()
153 fd = open("/", O_PATH|O_DIRECTORY); in main()
H A Dproc-pid-vm.c269 if (open("/", O_RDONLY|O_DIRECTORY|O_PATH) != 0) { in main()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-filesystems/recipes-support/fuse/fuse3/
H A D0001-test-test_syscalls.c-allow-EBADF-in-fcheck_stat-631.patch34 if (flags & O_PATH) {
35 // With O_PATH fd, the server does not have to keep
/OK3568_Linux_fs/kernel/arch/parisc/include/uapi/asm/
H A Dfcntl.h20 #define O_PATH 020000000 macro
/OK3568_Linux_fs/kernel/arch/alpha/include/uapi/asm/
H A Dfcntl.h35 #define O_PATH 040000000 macro
/OK3568_Linux_fs/kernel/arch/sparc/include/uapi/asm/
H A Dfcntl.h38 #define O_PATH 0x1000000 macro
/OK3568_Linux_fs/kernel/fs/
H A Dopen.c777 if (unlikely(f->f_flags & O_PATH)) { in do_dentry_open()
987 #define O_PATH_FLAGS (O_DIRECTORY | O_NOFOLLOW | O_PATH | O_CLOEXEC)
997 if (how.flags & O_PATH) in build_open_how()
1059 if (flags & O_PATH) { in build_open_flags()
1088 op->intent = flags & O_PATH ? 0 : LOOKUP_OPEN; in build_open_flags()
1269 if (!(tmp.flags & O_PATH) && force_o_largefile()) in SYSCALL_DEFINE4()
H A Dnamespace.c2433 file = dentry_open(path, O_PATH, current_cred()); in open_detached_copy()
2481 file = dentry_open(&path, O_PATH, current_cred()); in SYSCALL_DEFINE3()
3578 file = dentry_open(&newmount, O_PATH, fc->cred); in SYSCALL_DEFINE3()
H A Dnamei.c3452 } else if (unlikely(file->f_flags & O_PATH)) { in path_openat()
/OK3568_Linux_fs/kernel/include/linux/
H A Dfcntl.h13 O_NOATIME | O_CLOEXEC | O_PATH | __O_TMPFILE)
/OK3568_Linux_fs/kernel/tools/perf/trace/beauty/
H A Dopen_flags.c58 #ifdef O_PATH in open__scnprintf_flags()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A Dd_path.c55 indicatorfd = open("/tmp/", O_PATH); in trigger_fstat_events()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/bits/
H A Dfcntl-linux.h150 # define O_PATH __O_PATH /* Resolve pathname but do not open file. */ macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/bits/
H A Dfcntl-linux.h150 # define O_PATH __O_PATH /* Resolve pathname but do not open file. */ macro
/OK3568_Linux_fs/kernel/tools/testing/selftests/cgroup/
H A Dcgroup_util.c398 return open(dir, O_DIRECTORY | O_CLOEXEC | O_NOFOLLOW | O_PATH); in dirfd_open_opath()
/OK3568_Linux_fs/kernel/net/unix/
H A Daf_unix.c2667 f = dentry_open(&path, O_PATH, current_cred()); in unix_open_file()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/share/info/
H A Dlibc.info-17326 * O_PATH: (libc)Access Modes.
3545 * O_PATH: Access Modes. (line 22)

123