O_TMPFILE
#ifdef O_TMPFILE
fd = open(tempdir, O_CLOEXEC | O_RDWR | O_EXCL | O_TMPFILE, 0700);
if (oflags & O_TMPFILE)
if (oflags & O_TMPFILE)
} else if (oflags & O_TMPFILE) {
if (oflags & O_TMPFILE)
cfile->status_file_deleted = file->f_flags & O_TMPFILE;
if (file->f_flags & O_TMPFILE)
{ O_TMPFILE, "O_TMPFILE" },
if (!(bits & (O_CREAT|O_TMPFILE)))
#ifndef O_TMPFILE
if ((flags & O_TMPFILE) > 0)
return open(".", O_TMPFILE | O_RDWR | O_EXCL);
return openat(fd_tmpfs_detached, ".", O_TMPFILE | O_RDWR | O_EXCL, 0600);
fd = open(".", O_TMPFILE | O_RDWR, 0600);
fd = open("/dev/shm", O_TMPFILE | O_RDWR, 0600);
fd = open(path, O_TMPFILE | O_EXCL | O_RDWR, 0600);
fd = open("/tmp", O_TMPFILE | O_RDWR | O_DIRECT, 0664);
fd = open("/tmp", O_TMPFILE | O_RDWR | O_DIRECT, 0664);
fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_TMPFILE);
fd = open("/tmp/", O_TMPFILE | O_RDWR, 0600);
fd = open("/tmp", O_TMPFILE | O_RDWR, 0644);
.how.flags = O_TMPFILE | O_PATH | O_RDWR, .err = -EINVAL },
.how.flags = O_TMPFILE | O_CREAT | O_RDWR, .err = -EINVAL },
.how.flags = O_TMPFILE | O_RDWR, .how.mode = 0600 },
.how.flags = O_TMPFILE | O_RDWR,
.how.flags = O_TMPFILE | O_RDWR,
.how.flags = O_TMPFILE | O_RDWR,
{ O_TMPFILE, "O_TMPFILE" },
fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_EXCL|O_TMPFILE, 0700);
fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_TMPFILE, 0600);
fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_TMPFILE, 0600);