Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dopen.cpp48 return ((flags & O_CREAT) == O_CREAT) || ((flags & O_TMPFILE) == O_TMPFILE); in needs_mode()
/bionic/libc/include/bits/fortify/
Dfcntl.h46 #define __open_modes_useful(flags) (((flags) & O_CREAT) || ((flags) & O_TMPFILE) == O_TMPFILE)
/bionic/tests/
Dclang_fortify_tests.cpp286 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()
Dfcntl_test.cpp321 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()
Dfortify_test.cpp1035 int flags = O_TMPFILE; // Fool the compiler. in TEST_F()
Ddlext_test.cpp905 open(GetTestlibRoot().c_str(), O_TMPFILE | O_CLOEXEC | O_RDWR | O_EXCL, 0)); in TEST()
/bionic/libc/kernel/uapi/asm-generic/
Dfcntl.h80 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) macro