aboutsummaryrefslogtreecommitdiff
path: root/linux-user/strace.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2012-07-25 14:30:34 -0700
committerRichard Henderson <rth@twiddle.net>2012-08-04 09:37:49 -0700
commitafc8763f9db442abdbeb73a6458e27a0031c73b3 (patch)
tree6d6c4d448dcb8a1a0db3c179ef970651ccc4fe13 /linux-user/strace.c
parent4eeea4f3f12a85ef955ac162c81a153a020cf9d7 (diff)
linux-user: Handle O_SYNC, O_NOATIME, O_CLOEXEC, O_PATH
Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'linux-user/strace.c')
-rw-r--r--linux-user/strace.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/linux-user/strace.c b/linux-user/strace.c
index 05a0d3e9d7..6ec90e8974 100644
--- a/linux-user/strace.c
+++ b/linux-user/strace.c
@@ -371,11 +371,21 @@ UNUSED static struct flags open_flags[] = {
FLAG_TARGET(O_NOCTTY),
FLAG_TARGET(O_NOFOLLOW),
FLAG_TARGET(O_NONBLOCK), /* also O_NDELAY */
- FLAG_TARGET(O_SYNC),
+ FLAG_TARGET(O_DSYNC),
+ FLAG_TARGET(__O_SYNC),
FLAG_TARGET(O_TRUNC),
#ifdef O_DIRECT
FLAG_TARGET(O_DIRECT),
#endif
+#ifdef O_NOATIME
+ FLAG_TARGET(O_NOATIME),
+#endif
+#ifdef O_CLOEXEC
+ FLAG_TARGET(O_CLOEXEC),
+#endif
+#ifdef O_PATH
+ FLAG_TARGET(O_PATH),
+#endif
FLAG_END,
};