Home
last modified time | relevance | path

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

/systemd-251/src/basic/
Dmissing_fcntl.h58 #ifndef O_TMPFILE
59 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) macro
Dtmpfile-util.c227 fd = open(directory, flags|O_TMPFILE|O_EXCL, S_IRUSR|S_IWUSR); in open_tmpfile_unlinkable()
257 fd = open_parent(target, O_TMPFILE|flags, 0640); in open_tmpfile_linkable()
Dfs-util.c822 else if (!FLAGS_SET(flags, O_TMPFILE)) in open_parent()
/systemd-251/docs/
DTEMPORARY_DIRECTORIES.md53 `O_TMPFILE` (Linux)
106 2. �� Use `memfd_create()` or `O_TMPFILE`. This is an extension of the
183 1. Use `memfd_create()` or `O_TMPFILE` when creating temporary files.
186 to `O_TMPFILE` behaviour: consider deleting temporary files right after
188 `O_TMPFILE` this method also works on older Linux systems and other OSes
189 that do not implement `O_TMPFILE`.
/systemd-251/src/shared/
Ddata-fd-util.c117 fd = open("/dev/shm", O_RDWR|O_TMPFILE|O_CLOEXEC, 0500); in acquire_data_fd()
Dcreds-util.c141 fd = openat(dfd, ".", O_CLOEXEC|O_WRONLY|O_TMPFILE, 0400); in make_credential_host_secret()
/systemd-251/src/import/
Dexport-raw.c252 new_fd = open_parent(path, O_TMPFILE|O_CLOEXEC|O_RDWR, 0600); in reflink_snapshot()