commit | d50bcfe4c72fca892434c86fc7204b1d7e9c8b47 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sat Jul 13 13:26:37 2013 +0400 |
committer | Luca Weiss <luca@z3ntu.xyz> | Fri Mar 01 17:15:04 2019 +0100 |
tree | d1e94ec2bc9c55e4b29f68945fe8eb254fe5b54b | |
parent | 90666b32aa2db54789aebfd66ea6bacea0aa8a47 [diff] |
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... Change-Id: I90b6ad396a8053eadd5cb32501f55cbb1d4be2db Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>