https://github.com/torvalds/linux
Revision bb458c644a59dbba3a1fe59b27106c5e68e1c4bd authored by Al Viro on 13 July 2013, 09:26:37 UTC, committed by Al Viro on 13 July 2013, 09:26:37 UTC
[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>
1 parent 4fbeb19
History
Tip revision: bb458c644a59dbba3a1fe59b27106c5e68e1c4bd authored by Al Viro on 13 July 2013, 09:26:37 UTC
Safer ABI for O_TMPFILE
Tip revision: bb458c6
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.1 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 251.4 KB
Makefile -rw-r--r-- 47.3 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top