[PATCH] decode open's O_TMPFILE

Mike Frysinger vapier at gentoo.org
Wed Nov 19 21:36:42 UTC 2014


* xlat/open_mode_flags.in: Add O_TMPFILE definition.
---
 xlat/open_mode_flags.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/xlat/open_mode_flags.in b/xlat/open_mode_flags.in
index b323f8b..a584834 100644
--- a/xlat/open_mode_flags.in
+++ b/xlat/open_mode_flags.in
@@ -19,6 +19,8 @@ O_NOFOLLOW
 O_NOATIME
 O_CLOEXEC
 O_PATH
+/* The kernel & C liraries often inline O_DIRECTORY */
+{ O_TMPFILE & ~O_DIRECTORY, "O_TMPFILE" },
 FNDELAY
 FAPPEND
 FMARK
-- 
2.1.3





More information about the Strace-devel mailing list