• Al Viro's avatar
    Safer ABI for O_TMPFILE · bb458c64
    Al Viro authored
    [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>
    bb458c64
fcntl.h 1.8 KB