Safer ABI for O_TMPFILE
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 13 Jul 2013 09:26:37 +0000 (13:26 +0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 13 Jul 2013 09:26:37 +0000 (13:26 +0400)
[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: Al Viro <viro@zeniv.linux.org.uk>

No differences found