| /OK3568_Linux_fs/kernel/tools/testing/selftests/openat2/ |
| H A D | openat2_test.c | 165 .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 D | rename_attack_test.c | 43 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 D | resolve_test.c | 59 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 D | fcntl.h | 84 #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 D | fcntl.h | 84 #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 D | fcntl.h | 84 #ifndef O_PATH 85 #define O_PATH 010000000 macro
|
| /OK3568_Linux_fs/kernel/tools/include/uapi/asm-generic/ |
| H A D | fcntl.h | 83 #ifndef O_PATH 84 #define O_PATH 010000000 macro
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/exec/ |
| H A D | execveat.c | 235 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 D | fd-001-lookup.c | 146 fd = open("/", O_PATH|O_DIRECTORY); in main() 153 fd = open("/", O_PATH|O_DIRECTORY); in main()
|
| H A D | proc-pid-vm.c | 269 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 D | 0001-test-test_syscalls.c-allow-EBADF-in-fcheck_stat-631.patch | 34 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 D | fcntl.h | 20 #define O_PATH 020000000 macro
|
| /OK3568_Linux_fs/kernel/arch/alpha/include/uapi/asm/ |
| H A D | fcntl.h | 35 #define O_PATH 040000000 macro
|
| /OK3568_Linux_fs/kernel/arch/sparc/include/uapi/asm/ |
| H A D | fcntl.h | 38 #define O_PATH 0x1000000 macro
|
| /OK3568_Linux_fs/kernel/fs/ |
| H A D | open.c | 777 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 D | namespace.c | 2433 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 D | namei.c | 3452 } else if (unlikely(file->f_flags & O_PATH)) { in path_openat()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | fcntl.h | 13 O_NOATIME | O_CLOEXEC | O_PATH | __O_TMPFILE)
|
| /OK3568_Linux_fs/kernel/tools/perf/trace/beauty/ |
| H A D | open_flags.c | 58 #ifdef O_PATH in open__scnprintf_flags()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/ |
| H A D | d_path.c | 55 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 D | fcntl-linux.h | 150 # 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 D | fcntl-linux.h | 150 # define O_PATH __O_PATH /* Resolve pathname but do not open file. */ macro
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/cgroup/ |
| H A D | cgroup_util.c | 398 return open(dir, O_DIRECTORY | O_CLOEXEC | O_NOFOLLOW | O_PATH); in dirfd_open_opath()
|
| /OK3568_Linux_fs/kernel/net/unix/ |
| H A D | af_unix.c | 2667 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 D | libc.info-17 | 326 * O_PATH: (libc)Access Modes. 3545 * O_PATH: Access Modes. (line 22)
|