/kernel/linux/linux-5.10/tools/testing/selftests/openat2/ |
H A D | openat2_test.c | 163 /* O_TMPFILE is incompatible with O_PATH and O_CREAT. */ in test_openat2_flags() 164 { .name = "incompatible flags (O_TMPFILE | O_PATH)", in test_openat2_flags() 165 .how.flags = O_TMPFILE | O_PATH | O_RDWR, .err = -EINVAL }, in test_openat2_flags() 166 { .name = "incompatible flags (O_TMPFILE | O_CREAT)", in test_openat2_flags() 167 .how.flags = O_TMPFILE | O_CREAT | O_RDWR, .err = -EINVAL }, in test_openat2_flags() 197 { .name = "valid how.mode and O_TMPFILE", in test_openat2_flags() 198 .how.flags = O_TMPFILE | O_RDWR, .how.mode = 0600 }, in test_openat2_flags() 206 { .name = "invalid how.mode and O_TMPFILE", in test_openat2_flags() 207 .how.flags = O_TMPFILE | O_RDWR, in test_openat2_flags() 209 { .name = "invalid (very large) how.mode and O_TMPFILE", in test_openat2_flags() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/openat2/ |
H A D | openat2_test.c | 167 /* O_TMPFILE is incompatible with O_PATH and O_CREAT. */ in test_openat2_flags() 168 { .name = "incompatible flags (O_TMPFILE | O_PATH)", in test_openat2_flags() 169 .how.flags = O_TMPFILE | O_PATH | O_RDWR, .err = -EINVAL }, in test_openat2_flags() 170 { .name = "incompatible flags (O_TMPFILE | O_CREAT)", in test_openat2_flags() 171 .how.flags = O_TMPFILE | O_CREAT | O_RDWR, .err = -EINVAL }, in test_openat2_flags() 201 { .name = "valid how.mode and O_TMPFILE", in test_openat2_flags() 202 .how.flags = O_TMPFILE | O_RDWR, .how.mode = 0600 }, in test_openat2_flags() 210 { .name = "invalid how.mode and O_TMPFILE", in test_openat2_flags() 211 .how.flags = O_TMPFILE | O_RDWR, in test_openat2_flags() 213 { .name = "invalid (very large) how.mode and O_TMPFILE", in test_openat2_flags() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/tmpfs/ |
H A D | bug-link-o-tmpfile.c | 16 /* Test that open(O_TMPFILE), linkat() doesn't screw accounting. */ 43 /* Our heroes: 1 root inode, 1 O_TMPFILE inode, 1 permanent inode. */ in main() 49 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_TMPFILE, 0600); in main() 60 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_TMPFILE, 0600); in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/tmpfs/ |
H A D | bug-link-o-tmpfile.c | 16 /* Test that open(O_TMPFILE), linkat() doesn't screw accounting. */ 43 /* Our heroes: 1 root inode, 1 O_TMPFILE inode, 1 permanent inode. */ in main() 49 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_TMPFILE, 0600); in main() 60 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_TMPFILE, 0600); in main()
|
/kernel/linux/linux-5.10/tools/perf/trace/beauty/ |
H A D | open_flags.c | 18 #ifndef O_TMPFILE 19 #define O_TMPFILE 020000000 macro
|
/kernel/linux/linux-6.6/tools/perf/trace/beauty/ |
H A D | open_flags.c | 18 #ifndef O_TMPFILE 19 #define O_TMPFILE 020000000 macro
|
/kernel/linux/linux-5.10/arch/um/os-Linux/ |
H A D | mem.c | 109 #ifdef O_TMPFILE in make_tempfile() 110 fd = open(tempdir, O_CLOEXEC | O_RDWR | O_EXCL | O_TMPFILE, 0700); in make_tempfile() 112 * If the running system does not support O_TMPFILE flag then retry in make_tempfile()
|
/kernel/linux/linux-6.6/arch/um/os-Linux/ |
H A D | mem.c | 131 #ifdef O_TMPFILE in make_tempfile() 132 fd = open(tempdir, O_CLOEXEC | O_RDWR | O_EXCL | O_TMPFILE, 0700); in make_tempfile() 134 * If the running system does not support O_TMPFILE flag then retry in make_tempfile()
|
/kernel/linux/linux-5.10/tools/include/uapi/asm-generic/ |
H A D | fcntl.h | 92 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) macro
|
/kernel/linux/linux-5.10/include/uapi/asm-generic/ |
H A D | fcntl.h | 93 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) macro
|
/kernel/linux/linux-6.6/include/uapi/asm-generic/ |
H A D | fcntl.h | 93 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) macro
|
/kernel/linux/linux-6.6/tools/include/uapi/asm-generic/ |
H A D | fcntl.h | 93 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) macro
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-generic/ |
H A D | fcntl.h | 65 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) macro
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/asm-generic/ |
H A D | fcntl.h | 79 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) macro
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-generic/ |
H A D | fcntl.h | 79 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) macro
|
/kernel/linux/linux-5.10/tools/testing/selftests/mincore/ |
H A D | mincore_selftest.c | 210 fd = open(".", O_TMPFILE | O_RDWR, 0600); in TEST() 216 SKIP(goto out_free, "O_TMPFILE not supported by filesystem."); in TEST() 315 fd = open("/dev/shm", O_TMPFILE | O_RDWR, 0600); in TEST()
|
/kernel/linux/linux-6.6/tools/testing/selftests/mincore/ |
H A D | mincore_selftest.c | 209 fd = open(".", O_TMPFILE | O_RDWR, 0600); in TEST() 215 SKIP(goto out_free, "O_TMPFILE not supported by filesystem."); in TEST() 314 fd = open("/dev/shm", O_TMPFILE | O_RDWR, 0600); in TEST()
|
/kernel/linux/linux-5.10/tools/testing/selftests/proc/ |
H A D | proc-pid-vm.c | 194 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_EXCL|O_TMPFILE, 0700); in make_exe()
|
/kernel/linux/linux-5.10/tools/testing/selftests/cgroup/ |
H A D | cgroup_util.c | 456 return open(".", O_TMPFILE | O_RDWR | O_EXCL); in get_temp_fd()
|
/kernel/linux/linux-6.6/tools/testing/selftests/cgroup/ |
H A D | cgroup_util.c | 469 return open(".", O_TMPFILE | O_RDWR | O_EXCL); in get_temp_fd()
|
/kernel/linux/linux-6.6/tools/testing/selftests/proc/ |
H A D | proc-pid-vm.c | 196 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_EXCL|O_TMPFILE, 0700); in make_exe()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | profiler.inc.h | 18 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) macro 775 if ((flags & O_TMPFILE) > 0) in kprobe_ret__do_filp_open()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | profiler.inc.h | 19 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) macro 787 if ((flags & O_TMPFILE) > 0) in kprobe_ret__do_filp_open()
|
/kernel/linux/linux-5.10/fs/ |
H A D | open.c | 1038 * O_TMPFILE on old kernels, O_TMPFILE is implemented such that it in build_open_flags() 1043 if ((flags & O_TMPFILE_MASK) != O_TMPFILE) in build_open_flags()
|
/kernel/linux/linux-5.10/tools/testing/selftests/vm/ |
H A D | hmm-tests.c | 167 fd = open(path, O_TMPFILE | O_EXCL | O_RDWR, 0600); in hmm_create_file()
|