From: Mike Frysinger Date: Thu, 20 Nov 2014 00:19:56 +0000 (-0500) Subject: Decode open's O_TMPFILE X-Git-Tag: v4.10~361 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=18901ea0caf900d6c3aad8748d072234e9f0f850;p=strace Decode open's O_TMPFILE * xlat/open_mode_flags.in: Add O_TMPFILE definition. --- diff --git a/xlat/open_mode_flags.in b/xlat/open_mode_flags.in index b323f8b7..30bed260 100644 --- a/xlat/open_mode_flags.in +++ b/xlat/open_mode_flags.in @@ -19,6 +19,10 @@ O_NOFOLLOW O_NOATIME O_CLOEXEC O_PATH +#if defined(O_TMPFILE) && defined(O_DIRECTORY) +/* The kernel & C libraries often inline O_DIRECTORY */ +{ O_TMPFILE & ~O_DIRECTORY, "O_TMPFILE" }, +#endif FNDELAY FAPPEND FMARK