https://bugs.kde.org/show_bug.cgi?id=433873

--- Comment #5 from Paul Floyd <pjfl...@wanadoo.fr> ---
I had a little difficulty compiling the example code, ended up copying/pasting
a few ofd the octal flags from /usr/include/asm-generic/fcntl.h directly into
the file.

I based the mode/flags and resolve checks on this comment in openat.h

 * Arguments for how openat2(2) should open the target path. If only @flags and
 * @mode are non-zero, then openat2(2) operates very similarly to openat(2).
 *
 * However, unlike openat(2), unknown or invalid bits in @flags result in
 * -EINVAL rather than being silently ignored. @mode must be zero unless one of
 * {O_CREAT, O_TMPFILE} are set.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to