/aosp_15_r20/external/ltp/include/lapi/ |
H A D | fcntl.h | 28 #ifndef O_TMPFILE 29 # define O_TMPFILE (020000000 | O_DIRECTORY) macro 168 (((oflag) & O_CREAT) != 0 || ((oflag) & O_TMPFILE) == O_TMPFILE)
|
/aosp_15_r20/external/strace/tests-mx32/ |
H A D | openat.c | 38 #ifdef O_TMPFILE 40 # define STRACE_O_TMPFILE (O_TMPFILE & ~O_DIRECTORY) 109 # ifdef O_TMPFILE in main() 110 { ARG_STR(O_TMPFILE) }, in main()
|
H A D | open.c | 60 # ifdef O_TMPFILE in main() 61 fd = syscall(__NR_open, sample, O_WRONLY|O_TMPFILE, 0600); in main()
|
/aosp_15_r20/external/strace/tests/ |
H A D | openat.c | 38 #ifdef O_TMPFILE 40 # define STRACE_O_TMPFILE (O_TMPFILE & ~O_DIRECTORY) 109 # ifdef O_TMPFILE in main() 110 { ARG_STR(O_TMPFILE) }, in main()
|
H A D | open.c | 60 # ifdef O_TMPFILE in main() 61 fd = syscall(__NR_open, sample, O_WRONLY|O_TMPFILE, 0600); in main()
|
/aosp_15_r20/external/strace/tests-m32/ |
H A D | openat.c | 38 #ifdef O_TMPFILE 40 # define STRACE_O_TMPFILE (O_TMPFILE & ~O_DIRECTORY) 109 # ifdef O_TMPFILE in main() 110 { ARG_STR(O_TMPFILE) }, in main()
|
H A D | open.c | 60 # ifdef O_TMPFILE in main() 61 fd = syscall(__NR_open, sample, O_WRONLY|O_TMPFILE, 0600); in main()
|
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/openat2/ |
H A D | openat2_test.c | 169 .how.flags = O_TMPFILE | O_PATH | O_RDWR, .err = -EINVAL }, in test_openat2_flags() 171 .how.flags = O_TMPFILE | O_CREAT | O_RDWR, .err = -EINVAL }, in test_openat2_flags() 202 .how.flags = O_TMPFILE | O_RDWR, .how.mode = 0600 }, in test_openat2_flags() 211 .how.flags = O_TMPFILE | O_RDWR, in test_openat2_flags() 214 .how.flags = O_TMPFILE | O_RDWR, in test_openat2_flags() 231 .how.flags = O_TMPFILE | O_RDWR, in test_openat2_flags()
|
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/open/ |
H A D | open14.c | 51 int fd = open(".", O_TMPFILE | O_RDWR, 0600); in setup() 77 fd = SAFE_OPEN(cleanup, ".", O_TMPFILE | O_RDWR, 0600); in test01() 139 fd[i] = SAFE_OPEN(cleanup, ".", O_TMPFILE | O_RDWR, 0600); in test02() 195 fd[i] = SAFE_OPEN(cleanup, ".", O_TMPFILE | O_RDWR, perm); in test03()
|
/aosp_15_r20/external/pcre/src/sljit/allocator_src/ |
H A D | sljitProtExecAllocatorPosix.c | 44 #ifndef O_TMPFILE 45 #define O_TMPFILE 0x404000 macro 102 fd = open(tmp_name, O_TMPFILE | O_EXCL | O_RDWR | O_NOATIME | O_CLOEXEC, 0); in create_tempfile()
|
/aosp_15_r20/bionic/tests/ |
H A D | clang_fortify_tests.cpp | 285 EXPECT_FORTIFY_DEATH(open(target, O_TMPFILE)); in FORTIFY_TEST() 289 EXPECT_FORTIFY_DEATH(open64(target, O_TMPFILE)); in FORTIFY_TEST() 293 EXPECT_FORTIFY_DEATH(openat(dirfd, target, O_TMPFILE)); in FORTIFY_TEST() 297 EXPECT_FORTIFY_DEATH(openat64(dirfd, target, O_TMPFILE)); in FORTIFY_TEST()
|
/aosp_15_r20/external/musl/src/fcntl/ |
H A D | openat.c | 9 if ((flags & O_CREAT) || (flags & O_TMPFILE) == O_TMPFILE) { in openat()
|
H A D | open.c | 9 if ((flags & O_CREAT) || (flags & O_TMPFILE) == O_TMPFILE) { in open()
|
/aosp_15_r20/external/trusty/musl/src/fcntl/ |
D | openat.c | 9 if ((flags & O_CREAT) || (flags & O_TMPFILE) == O_TMPFILE) { in openat()
|
D | open.c | 9 if ((flags & O_CREAT) || (flags & O_TMPFILE) == O_TMPFILE) { in open()
|
/aosp_15_r20/external/llvm-libc/src/fcntl/linux/ |
H A D | openat.cpp | 26 if ((flags & O_CREAT) || (flags & O_TMPFILE) == O_TMPFILE) {
|
H A D | open.cpp | 27 if ((flags & O_CREAT) || (flags & O_TMPFILE) == O_TMPFILE) {
|
/aosp_15_r20/system/extras/toolchain-extras/ |
H A D | profile-clang-openat.cpp | 32 return ((flags & O_CREAT) == O_CREAT) || ((flags & O_TMPFILE) == O_TMPFILE); in needs_mode()
|
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/tmpfs/ |
H A D | bug-link-o-tmpfile.c | 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()
|
/aosp_15_r20/bionic/libc/bionic/ |
H A D | open.cpp | 48 return ((flags & O_CREAT) == O_CREAT) || ((flags & O_TMPFILE) == O_TMPFILE); in needs_mode()
|
/aosp_15_r20/external/autotest/client/site_tests/platform_ToolchainTests/src/ |
H A D | clang-fortify-tests.cpp | 230 open("/", O_TMPFILE); in testFcntl() 234 open64("/", O_TMPFILE); in testFcntl() 238 openat(0, "/", O_TMPFILE); in testFcntl() 242 openat64(0, "/", O_TMPFILE); in testFcntl()
|
/aosp_15_r20/prebuilts/vndk/v32/x86/include/generated-headers/bionic/libc/libc/android_vendor.32_x86_shared/gen/include/bits/fortify/ |
D | fcntl.h | 50 #define __open_modes_useful(flags) (((flags) & O_CREAT) || ((flags) & O_TMPFILE) == O_TMPFILE)
|
/aosp_15_r20/prebuilts/vndk/v31/x86/include/generated-headers/bionic/libc/libc/android_vendor.31_x86_shared/gen/include/bits/fortify/ |
D | fcntl.h | 50 #define __open_modes_useful(flags) (((flags) & O_CREAT) || ((flags) & O_TMPFILE) == O_TMPFILE)
|
/aosp_15_r20/prebuilts/vndk/v32/arm/include/generated-headers/bionic/libc/libc/android_vendor.32_arm_armv7-a-neon_shared/gen/include/bits/fortify/ |
D | fcntl.h | 50 #define __open_modes_useful(flags) (((flags) & O_CREAT) || ((flags) & O_TMPFILE) == O_TMPFILE)
|
/aosp_15_r20/prebuilts/vndk/v33/x86/include/generated-headers/bionic/libc/libc/android_vendor.33_x86_shared/gen/include/bits/fortify/ |
D | fcntl.h | 50 #define __open_modes_useful(flags) (((flags) & O_CREAT) || ((flags) & O_TMPFILE) == O_TMPFILE)
|