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

Safer ABI for O_TMPFILE



[suggested by Rasmus Villemoes] make O_DIRECTORY | O_RDWR part of O_TMPFILE;
that will fail on old kernels in a lot more cases than what I came up with.
And make sure O_CREAT doesn't get there...

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