←back to thread

Against /tmp

(dotat.at)
257 points todsacerdoti | 1 comments | | HN request time: 0.24s | source
Show context
Starlevel004 ◴[] No.41915728[source]
The actual answer is to use O_TMPFILE.
replies(1): >>41919250 #
1. cryptonector ◴[] No.41919250[source]
Which is not portable. But also if you wanted to find your stuff again in other processes that you can't arrange to inherit shared memory and/or open FDs from the one creating it, then O_TMPFILE is not a relevant answer.