Decode the O_PATH flag
authorMike Frysinger <vapier@gentoo.org>
Tue, 31 Dec 2013 06:13:27 +0000 (01:13 -0500)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 31 Dec 2013 07:48:51 +0000 (07:48 +0000)
* file.c (open_mode_flags): Add O_PATH.

file.c

diff --git a/file.c b/file.c
index 98dc713629d56d6b592f2eb53b06ab24b9b0dd31..25152f0d4a07da743bbfb29bd2b4b2694e39d2c5 100644 (file)
--- 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