projects
/
platform
/
upstream
/
strace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b35147
)
Decode the O_PATH flag
author
Mike Frysinger
<vapier@gentoo.org>
Tue, 31 Dec 2013 06:13:27 +0000
(
01:13
-0500)
committer
Dmitry 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
patch
|
blob
|
history
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