Searched refs:O_TMPFILE (Results 1 – 7 of 7) sorted by relevance
/systemd-251/src/basic/ |
D | missing_fcntl.h | 58 #ifndef O_TMPFILE 59 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) macro
|
D | tmpfile-util.c | 227 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()
|
D | fs-util.c | 822 else if (!FLAGS_SET(flags, O_TMPFILE)) in open_parent()
|
/systemd-251/docs/ |
D | TEMPORARY_DIRECTORIES.md | 53 `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/ |
D | data-fd-util.c | 117 fd = open("/dev/shm", O_RDWR|O_TMPFILE|O_CLOEXEC, 0500); in acquire_data_fd()
|
D | creds-util.c | 141 fd = openat(dfd, ".", O_CLOEXEC|O_WRONLY|O_TMPFILE, 0400); in make_credential_host_secret()
|
/systemd-251/src/import/ |
D | export-raw.c | 252 new_fd = open_parent(path, O_TMPFILE|O_CLOEXEC|O_RDWR, 0600); in reflink_snapshot()
|