Home
last modified time | relevance | path

Searched refs:O_TMPFILE (Results 1 – 25 of 315) sorted by relevance

12345678910>>...13

/aosp_15_r20/external/ltp/include/lapi/
H A Dfcntl.h28 #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 Dopenat.c38 #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 Dopen.c60 # 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 Dopenat.c38 #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 Dopen.c60 # 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 Dopenat.c38 #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 Dopen.c60 # 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 Dopenat2_test.c169 .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 Dopen14.c51 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 DsljitProtExecAllocatorPosix.c44 #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 Dclang_fortify_tests.cpp285 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 Dopenat.c9 if ((flags & O_CREAT) || (flags & O_TMPFILE) == O_TMPFILE) { in openat()
H A Dopen.c9 if ((flags & O_CREAT) || (flags & O_TMPFILE) == O_TMPFILE) { in open()
/aosp_15_r20/external/trusty/musl/src/fcntl/
Dopenat.c9 if ((flags & O_CREAT) || (flags & O_TMPFILE) == O_TMPFILE) { in openat()
Dopen.c9 if ((flags & O_CREAT) || (flags & O_TMPFILE) == O_TMPFILE) { in open()
/aosp_15_r20/external/llvm-libc/src/fcntl/linux/
H A Dopenat.cpp26 if ((flags & O_CREAT) || (flags & O_TMPFILE) == O_TMPFILE) {
H A Dopen.cpp27 if ((flags & O_CREAT) || (flags & O_TMPFILE) == O_TMPFILE) {
/aosp_15_r20/system/extras/toolchain-extras/
H A Dprofile-clang-openat.cpp32 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 Dbug-link-o-tmpfile.c49 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 Dopen.cpp48 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 Dclang-fortify-tests.cpp230 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/
Dfcntl.h50 #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/
Dfcntl.h50 #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/
Dfcntl.h50 #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/
Dfcntl.h50 #define __open_modes_useful(flags) (((flags) & O_CREAT) || ((flags) & O_TMPFILE) == O_TMPFILE)

12345678910>>...13