Searched refs:O_TMPFILE (Results 1 – 7 of 7) sorted by relevance
/bionic/libc/bionic/ |
D | open.cpp | 48 return ((flags & O_CREAT) == O_CREAT) || ((flags & O_TMPFILE) == O_TMPFILE); in needs_mode()
|
/bionic/libc/include/bits/fortify/ |
D | fcntl.h | 46 #define __open_modes_useful(flags) (((flags) & O_CREAT) || ((flags) & O_TMPFILE) == O_TMPFILE)
|
/bionic/tests/ |
D | clang_fortify_tests.cpp | 286 EXPECT_FORTIFY_DEATH(open(target, O_TMPFILE)); in FORTIFY_TEST() 290 EXPECT_FORTIFY_DEATH(open64(target, O_TMPFILE)); in FORTIFY_TEST() 294 EXPECT_FORTIFY_DEATH(openat(dirfd, target, O_TMPFILE)); in FORTIFY_TEST() 298 EXPECT_FORTIFY_DEATH(openat64(dirfd, target, O_TMPFILE)); in FORTIFY_TEST()
|
D | fcntl_test.cpp | 321 int fd = open(dir.path, O_TMPFILE | O_RDWR, perms); in TEST() 347 fd = open(dir.path, O_TMPFILE | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in TEST()
|
D | fortify_test.cpp | 1035 int flags = O_TMPFILE; // Fool the compiler. in TEST_F()
|
D | dlext_test.cpp | 905 open(GetTestlibRoot().c_str(), O_TMPFILE | O_CLOEXEC | O_RDWR | O_EXCL, 0)); in TEST()
|
/bionic/libc/kernel/uapi/asm-generic/ |
D | fcntl.h | 80 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) macro
|