projects
/
strace
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fafc71f
)
Decode open's O_TMPFILE
author
Mike Frysinger
<vapier@gentoo.org>
Thu, 20 Nov 2014 00:19:56 +0000
(19:19 -0500)
committer
Dmitry V. Levin
<ldv@altlinux.org>
Thu, 20 Nov 2014 02:21:57 +0000
(
02:21
+0000)
* xlat/open_mode_flags.in: Add O_TMPFILE definition.
xlat/open_mode_flags.in
patch
|
blob
|
history
diff --git
a/xlat/open_mode_flags.in
b/xlat/open_mode_flags.in
index b323f8b7c1d71b3de68751381b7f9c754bfd8acf..30bed260dadc52e249530643620d4bf1720b6538 100644
(file)
--- a/
xlat/open_mode_flags.in
+++ b/
xlat/open_mode_flags.in
@@
-19,6
+19,10
@@
O_NOFOLLOW
O_NOATIME
O_CLOEXEC
O_PATH
+#if defined(O_TMPFILE) && defined(O_DIRECTORY)
+/* The kernel & C libraries often inline O_DIRECTORY */
+{ O_TMPFILE & ~O_DIRECTORY, "O_TMPFILE" },
+#endif
FNDELAY
FAPPEND
FMARK