Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dopen.cpp48 return ((flags & O_CREAT) == O_CREAT) || ((flags & O_TMPFILE) == O_TMPFILE); in needs_mode()
Dtmpfile.cpp83 int fd = open(tmp_dir, O_TMPFILE | O_RDWR, S_IRUSR | S_IWUSR); in __tmpfile_dir()
/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.cpp265 EXPECT_FORTIFY_DEATH(open(target, O_TMPFILE)); in FORTIFY_TEST()
269 EXPECT_FORTIFY_DEATH(open64(target, O_TMPFILE)); in FORTIFY_TEST()
273 EXPECT_FORTIFY_DEATH(openat(dirfd, target, O_TMPFILE)); in FORTIFY_TEST()
277 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.cpp1030 int flags = O_TMPFILE; // Fool the compiler. in TEST_F()
Ddlext_test.cpp922 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