[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 6/9] linux-user: Translate pipe2 flags; add to strac
From: |
Richard Henderson |
Subject: |
[Qemu-devel] [PATCH 6/9] linux-user: Translate pipe2 flags; add to strace |
Date: |
Thu, 7 Jun 2012 15:24:28 -0700 |
Signed-off-by: Richard Henderson <address@hidden>
---
linux-user/strace.list | 3 +++
linux-user/syscall.c | 3 ++-
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/linux-user/strace.list b/linux-user/strace.list
index a7eeaef..af3c6a0 100644
--- a/linux-user/strace.list
+++ b/linux-user/strace.list
@@ -1527,3 +1527,6 @@
#ifdef TARGET_NR_sync_file_range2
{ TARGET_NR_sync_file_range2, "sync_file_range2", NULL, NULL, NULL },
#endif
+#ifdef TARGET_NR_pipe2
+{ TARGET_NR_pipe2, "pipe2", NULL, NULL, NULL },
+#endif
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 8a454cc..1a12f14 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -5595,7 +5595,8 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
break;
#ifdef TARGET_NR_pipe2
case TARGET_NR_pipe2:
- ret = do_pipe(cpu_env, arg1, arg2, 1);
+ ret = do_pipe(cpu_env, arg1,
+ target_to_host_bitmask(arg2, fcntl_flags_tbl), 1);
break;
#endif
case TARGET_NR_times:
--
1.7.7.6
- [Qemu-devel] [PATCH 1/9] alpha-linux-user: Fix signal handling, (continued)
- [Qemu-devel] [PATCH 1/9] alpha-linux-user: Fix signal handling, Richard Henderson, 2012/06/07
- [Qemu-devel] [PATCH 2/9] alpha-linux-user: Work around hosted mmap allocation problems, Richard Henderson, 2012/06/07
- Re: [Qemu-devel] [PATCH 2/9] alpha-linux-user: Work around hosted mmap allocation problems, Andreas Färber, 2012/06/12
- Re: [Qemu-devel] [PATCH 2/9] alpha-linux-user: Work around hosted mmap allocation problems, Richard Henderson, 2012/06/12
- Re: [Qemu-devel] [PATCH 2/9] alpha-linux-user: Work around hosted mmap allocation problems, Alexander Graf, 2012/06/12
- Re: [Qemu-devel] [PATCH 2/9] alpha-linux-user: Work around hosted mmap allocation problems, Richard Henderson, 2012/06/12
- Re: [Qemu-devel] [PATCH 2/9] alpha-linux-user: Work around hosted mmap allocation problems, Alexander Graf, 2012/06/12
- Re: [Qemu-devel] [PATCH 2/9] alpha-linux-user: Work around hosted mmap allocation problems, Richard Henderson, 2012/06/12
[Qemu-devel] [PATCH 3/9] alpha-linux-user: Handle TARGET_SSI_IEEE_RAISE_EXCEPTION properly, Richard Henderson, 2012/06/07
[Qemu-devel] [PATCH 6/9] linux-user: Translate pipe2 flags; add to strace,
Richard Henderson <=
[Qemu-devel] [PATCH 5/9] linux-user: Allocate the right amount of space for non-fixed file maps, Richard Henderson, 2012/06/07
[Qemu-devel] [PATCH 4/9] linux-user: Handle O_SYNC, O_NOATIME, O_CLOEXEC, O_PATH, Richard Henderson, 2012/06/07
[Qemu-devel] [PATCH 7/9] alpha-linux-user: Fix a3 error return with v0 error bypass., Richard Henderson, 2012/06/07
[Qemu-devel] [PATCH 9/9] alpha-linux-user: Fix the getpriority syscall, Richard Henderson, 2012/06/07
[Qemu-devel] [PATCH 8/9] alpha-linux-user: Properly handle the non-rt sigprocmask syscall., Richard Henderson, 2012/06/07
Re: [Qemu-devel] [PATCH v3 0/9] {alpha-}linux user improvements, Richard Henderson, 2012/06/12