/linux-master/arch/powerpc/include/uapi/asm/ |
H A D | fcntl.h | 5 #define O_DIRECTORY 040000 /* must be a directory */ macro
|
/linux-master/arch/arm/include/uapi/asm/ |
H A D | fcntl.h | 5 #define O_DIRECTORY 040000 /* must be a directory */ macro
|
/linux-master/arch/arm64/include/uapi/asm/ |
H A D | fcntl.h | 23 #define O_DIRECTORY 040000 /* must be a directory */ macro
|
/linux-master/arch/m68k/include/uapi/asm/ |
H A D | fcntl.h | 5 #define O_DIRECTORY 040000 /* must be a directory */ macro
|
/linux-master/arch/parisc/include/uapi/asm/ |
H A D | fcntl.h | 17 #define O_DIRECTORY 000010000 /* must be a directory */ macro
|
/linux-master/arch/alpha/include/uapi/asm/ |
H A D | fcntl.h | 13 #define O_DIRECTORY 0100000 /* must be a directory */ macro
|
/linux-master/fs/ceph/ |
H A D | util.c | 59 #ifdef O_DIRECTORY /* fixme */ 60 if ((flags & O_DIRECTORY) == O_DIRECTORY)
|
/linux-master/include/uapi/asm-generic/ |
H A D | fcntl.h | 53 #ifndef O_DIRECTORY 54 #define O_DIRECTORY 00200000 /* must be a directory */ macro 93 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY)
|
/linux-master/tools/include/uapi/asm-generic/ |
H A D | fcntl.h | 53 #ifndef O_DIRECTORY 54 #define O_DIRECTORY 00200000 /* must be a directory */ macro 93 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY)
|
/linux-master/tools/perf/tests/ |
H A D | openat-syscall-tp-fields.c | 19 #ifndef O_DIRECTORY 20 #define O_DIRECTORY 00200000 macro 40 int flags = O_RDONLY | O_DIRECTORY;
|
/linux-master/tools/perf/trace/beauty/ |
H A D | open_flags.c | 10 #ifndef O_DIRECTORY 11 #define O_DIRECTORY 00200000 macro
|
/linux-master/tools/testing/selftests/landlock/ |
H A D | base_test.c | 182 open("/tmp", O_PATH | O_NOFOLLOW | O_DIRECTORY | O_CLOEXEC); 205 open("/tmp", O_PATH | O_NOFOLLOW | O_DIRECTORY | O_CLOEXEC); 277 open("/tmp", O_PATH | O_NOFOLLOW | O_DIRECTORY | O_CLOEXEC); 305 ASSERT_EQ(-1, open("/", O_RDONLY | O_DIRECTORY | O_CLOEXEC)); 307 dir_fd = open("/tmp", O_RDONLY | O_DIRECTORY | O_CLOEXEC); 317 dir_fd = open("/", O_RDONLY | O_DIRECTORY | O_CLOEXEC); 320 dir_fd = open("/tmp", O_RDONLY | O_DIRECTORY | O_CLOEXEC);
|
H A D | fs_test.c | 451 open(dir_s1d2, O_PATH | O_DIRECTORY | O_CLOEXEC); 454 ruleset_fd = open(dir_s1d1, O_PATH | O_DIRECTORY | O_CLOEXEC); 462 ruleset_fd = open(dir_s1d1, O_DIRECTORY | O_CLOEXEC); 479 path_beneath.parent_fd = open(dir_s1d2, O_DIRECTORY | O_CLOEXEC); 493 open(dir_s1d2, O_PATH | O_DIRECTORY | O_CLOEXEC); 579 open(dir_s1d2, O_PATH | O_DIRECTORY | O_CLOEXEC); 632 open(TMP_DIR, O_PATH | O_DIRECTORY | O_CLOEXEC); 935 ASSERT_EQ(EACCES, test_open(dir_s1d1, O_RDONLY | O_DIRECTORY)); 941 ASSERT_EQ(0, test_open(dir_s1d2, O_RDONLY | O_DIRECTORY)); 947 ASSERT_EQ(0, test_open(dir_s1d3, O_RDONLY | O_DIRECTORY)); [all...] |
/linux-master/tools/testing/selftests/proc/ |
H A D | fd-002-posix-eq.c | 32 fd0 = open("/", O_DIRECTORY|O_RDONLY);
|
H A D | fd-003-kthread.c | 48 dir_fd = open(buf, O_RDONLY|O_DIRECTORY); 90 fd = openat(dir_fd, "fd", O_RDONLY|O_DIRECTORY);
|
H A D | fd-001-lookup.c | 146 fd = open("/", O_PATH|O_DIRECTORY); 153 fd = open("/", O_PATH|O_DIRECTORY);
|
H A D | read.c | 109 fd = openat(dirfd(d), de->d_name, O_DIRECTORY|O_RDONLY);
|
/linux-master/samples/bpf/ |
H A D | test_cgrp2_sock2.c | 48 cg_fd = open(argv[1], O_DIRECTORY | O_RDONLY);
|
/linux-master/include/linux/ |
H A D | fcntl.h | 12 FASYNC | O_DIRECT | O_LARGEFILE | O_DIRECTORY | O_NOFOLLOW | \
|
/linux-master/tools/testing/selftests/exec/ |
H A D | execveat.c | 246 int subdir_dfd = open_or_die("subdir", O_DIRECTORY|O_RDONLY); 248 O_DIRECTORY|O_RDONLY); 249 int dot_dfd = open_or_die(".", O_DIRECTORY|O_RDONLY); 250 int root_dfd = open_or_die("/", O_DIRECTORY|O_RDONLY); 251 int dot_dfd_path = open_or_die(".", O_DIRECTORY|O_RDONLY|O_PATH); 252 int dot_dfd_cloexec = open_or_die(".", O_DIRECTORY|O_RDONLY|O_CLOEXEC);
|
/linux-master/include/trace/misc/ |
H A D | fs.h | 37 { O_DIRECTORY, "O_DIRECTORY" }, \
|
/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/pidfd/ |
H A D | pidfd_test.c | 69 pidfd = open("/proc/self", O_DIRECTORY | O_CLOEXEC); 116 pidfd = open(buf, O_DIRECTORY | O_CLOEXEC); 220 pidfd = open(buf, O_DIRECTORY | O_CLOEXEC); 356 pidfd = open("/proc/self", O_DIRECTORY | O_CLOEXEC);
|
/linux-master/samples/pidfd/ |
H A D | pidfd-metadata.c | 58 procfd = open(path, O_DIRECTORY | O_RDONLY | O_CLOEXEC);
|
/linux-master/tools/testing/selftests/openat2/ |
H A D | rename_attack_test.c | 43 dfd = open(dirname, O_PATH | O_DIRECTORY);
|