Al Viro
ba57ea64cb
allow O_TMPFILE to work with O_WRONLY
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
2013-07-20 03:11:32 +04:00
Al Viro
bb458c644a
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: Al Viro <viro@zeniv.linux.org.uk >
2013-07-13 13:26:37 +04:00
Al Viro
60545d0d46
[O_TMPFILE] it's still short a few helpers, but infrastructure should be OK now...
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
2013-06-29 12:57:10 +04:00
David Howells
8a1ab3155c
UAPI: (Scripted) Disintegrate include/asm-generic
...
Signed-off-by: David Howells <dhowells@redhat.com >
Acked-by: Arnd Bergmann <arnd@arndb.de >
Acked-by: Thomas Gleixner <tglx@linutronix.de >
Acked-by: Michael Kerrisk <mtk.manpages@gmail.com >
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com >
Acked-by: Dave Jones <davej@redhat.com >
2012-10-04 18:20:15 +01:00