Skip to content
Commit f4e0c30c authored by Al Viro's avatar Al Viro
Browse files

allow the temp files created by open() to be linked to



O_TMPFILE | O_CREAT => linkat() with AT_SYMLINK_FOLLOW and /proc/self/fd/<n>
as oldpath (i.e. flink()) will create a link
O_TMPFILE | O_CREAT | O_EXCL => ENOENT on attempt to link those guys

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 60545d0d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment