[PATCH 1/2] decode the O_PATH flag

Mike Frysinger vapier at gentoo.org
Tue Dec 31 06:13:27 UTC 2013


* file.c (open_mode_flags): Add O_PATH.
---
 file.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/file.c b/file.c
index 98dc713..25152f0 100644
--- a/file.c
+++ b/file.c
@@ -274,6 +274,9 @@ const struct xlat open_mode_flags[] = {
 #ifdef O_CLOEXEC
 	{ O_CLOEXEC,	"O_CLOEXEC"	},
 #endif
+#ifdef O_PATH
+	{ O_PATH,	"O_PATH"	},
+#endif
 #ifdef FNDELAY
 	{ FNDELAY,	"FNDELAY"	},
 #endif
-- 
1.8.4.3





More information about the Strace-devel mailing list