[PATCH v2] decode open's O_TMPFILE
Mike Frysinger
vapier at gentoo.org
Thu Nov 20 00:19:56 UTC 2014
* xlat/open_mode_flags.in: Add O_TMPFILE definition.
---
xlat/open_mode_flags.in | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/xlat/open_mode_flags.in b/xlat/open_mode_flags.in
index b323f8b..19def9e 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
+#ifdef O_TMPFILE
+/* The kernel & C libraries often inline O_DIRECTORY */
+{ O_TMPFILE & ~O_DIRECTORY, "O_TMPFILE" },
+#endif
FNDELAY
FAPPEND
FMARK
--
2.1.3
More information about the Strace-devel
mailing list