/third_party/ltp/include/lapi/ |
H A D | fcntl.h | 28 #ifndef O_TMPFILE 29 # define O_TMPFILE (020000000 | O_DIRECTORY) macro 164 (((oflag) & O_CREAT) != 0 || ((oflag) & O_TMPFILE) == O_TMPFILE)
|
/third_party/musl/porting/linux/user/src/fcntl/ |
H A D | open.c | 24 if ((flags & O_CREAT) || (flags & O_TMPFILE) == O_TMPFILE) { in open()
|
/third_party/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 | 12 if ((flags & O_CREAT) || (flags & O_TMPFILE) == O_TMPFILE) { in open()
|
/third_party/musl/libc-test/src/functionalext/supplement/fcntl/ |
H A D | openat.c | 30 ret = openat(0, "/dev/null", O_TMPFILE, TEST_MODE); in openat_0100() 47 ret = openat(0, "openat_test", O_TMPFILE, TEST_MODE); in openat_0200()
|
/third_party/ltp/testcases/kernel/syscalls/open/ |
H A D | open14.c | 51 int fd = open(".", O_TMPFILE | O_RDWR, 0600); in setup() 55 tst_brkm(TCONF, cleanup, "O_TMPFILE not supported"); in setup() 76 tst_resm(TINFO, "creating a file with O_TMPFILE flag"); in test01() 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()
|
/third_party/musl/libc-test/src/functionalext/fortify/ |
H A D | fcntl_ext.c | 85 * @tc.desc : test open O_TMPFILE without mode 95 int flags = O_TMPFILE; in open_0030() 181 * @tc.desc : test openat O_TMPFILE without mode 191 int flags = O_TMPFILE; in openat_0030() 278 * @tc.desc : test open64 O_TMPFILE without mode 288 int flags = O_TMPFILE; in open64_0030() 374 * @tc.desc : test openat64 O_TMPFILE without mode 384 int flags = O_TMPFILE; in openat64_0030()
|
/third_party/musl/porting/linux/user/include/fortify/ |
H A D | fortify.h | 110 #define __DIAGNOSE_OPEN_MODES_USEFUL(flags) (((flags) & O_CREAT) || ((flags) & O_TMPFILE) == O_TMPFILE) 123 #define OPEN_TOO_FEW_ARGS_ERROR "invoking with O_CREAT or O_TMPFILE, but missing pattern."
|
/third_party/ltp/testcases/kernel/syscalls/openat/ |
H A D | openat04.c | 69 TEST(openat(dirfd, ".", O_TMPFILE | O_RDWR, S_IXGRP | S_ISGID)); in open_tmpfile_supported() 73 tst_brk(TCONF, "fs doesn't support O_TMPFILE"); in open_tmpfile_supported() 75 tst_brk(TBROK | TTERRNO, "openat(%d, O_TMPFILE) failed", dirfd); in open_tmpfile_supported() 142 tmpfile_fd = SAFE_OPENAT(dir_fd, ".", O_TMPFILE | O_RDWR, MODE_SGID); in run()
|
/third_party/musl/include/fortify/linux/ |
H A D | fortify.h | 110 #define __DIAGNOSE_OPEN_MODES_USEFUL(flags) (((flags) & O_CREAT) || ((flags) & O_TMPFILE) == O_TMPFILE) 123 #define OPEN_TOO_FEW_ARGS_ERROR "invoking with O_CREAT or O_TMPFILE, but missing pattern."
|
/third_party/pcre2/pcre2/src/sljit/ |
H A D | sljitProtExecAllocator.c | 96 #ifndef O_TMPFILE 97 #define O_TMPFILE 020200000 macro 158 O_TMPFILE | O_EXCL | O_RDWR | O_NOATIME | O_CLOEXEC, 0); in create_tempfile()
|
/third_party/musl/porting/liteos_m/kernel/include/bits/ |
H A D | fcntl.h | 19 #define O_TMPFILE 020040000 macro
|
/third_party/musl/porting/liteos_a/kernel/include/bits/ |
H A D | fcntl.h | 19 #define O_TMPFILE 020040000 macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/bits/ |
H A D | fcntl.h | 19 #define O_TMPFILE 020040000 macro
|
/third_party/musl/porting/liteos_m/user/include/bits/ |
H A D | fcntl.h | 19 #define O_TMPFILE 020040000 macro
|
/third_party/musl/porting/uniproton/kernel/include/bits/ |
H A D | fcntl.h | 19 #define O_TMPFILE 020040000 macro
|
/third_party/musl/arch/aarch64/bits/ |
H A D | fcntl.h | 19 #define O_TMPFILE 020040000 macro
|
/third_party/musl/arch/generic/bits/ |
H A D | fcntl.h | 19 #define O_TMPFILE 020200000 macro
|
/third_party/musl/arch/m68k/bits/ |
H A D | fcntl.h | 19 #define O_TMPFILE 020200000 macro
|
/third_party/musl/arch/mipsn32/bits/ |
H A D | fcntl.h | 19 #define O_TMPFILE 020200000 macro
|
/third_party/musl/arch/arm/bits/ |
H A D | fcntl.h | 19 #define O_TMPFILE 020040000 macro
|
/third_party/musl/arch/mips/bits/ |
H A D | fcntl.h | 19 #define O_TMPFILE 020200000 macro
|
/third_party/musl/arch/mips64/bits/ |
H A D | fcntl.h | 19 #define O_TMPFILE 020200000 macro
|
/third_party/musl/arch/powerpc/bits/ |
H A D | fcntl.h | 19 #define O_TMPFILE 020040000 macro
|
/third_party/musl/arch/powerpc64/bits/ |
H A D | fcntl.h | 19 #define O_TMPFILE 020040000 macro
|