[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 14/16] linux-user: support the unshare syscall
From: |
Paul Burton |
Subject: |
[Qemu-devel] [PATCH 14/16] linux-user: support the unshare syscall |
Date: |
Sun, 15 Jun 2014 17:18:31 +0100 |
Add support for the unshare syscall, trivially passed through to the
host.
Signed-off-by: Paul Burton <address@hidden>
---
linux-user/syscall.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 208c6c4..5412b1e 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -9534,6 +9534,12 @@ abi_long do_syscall(void *cpu_env, int num, abi_long
arg1,
break;
#endif
+#ifdef TARGET_NR_unshare
+ case TARGET_NR_unshare:
+ ret = get_errno(unshare(arg1));
+ break;
+#endif
+
default:
unimplemented:
gemu_log("qemu: Unsupported syscall: %d\n", num);
--
2.0.0
- Re: [Qemu-devel] [PATCH 07/16] linux-user: fix struct target_epoll_event layout for MIPS, (continued)
- [Qemu-devel] [PATCH 08/16] linux-user: respect timezone for settimeofday, Paul Burton, 2014/06/15
- [Qemu-devel] [PATCH 09/16] linux-user: allow NULL tv argument for settimeofday, Paul Burton, 2014/06/15
- [Qemu-devel] [PATCH 10/16] linux-user: support timerfd_{create, gettime, settime} syscalls, Paul Burton, 2014/06/15
- [Qemu-devel] [PATCH 11/16] linux-user: support ioprio_{get, set} syscalls, Paul Burton, 2014/06/15
- [Qemu-devel] [PATCH 12/16] linux-user: support {name_to, open_by}_handle_at syscalls, Paul Burton, 2014/06/15
- [Qemu-devel] [PATCH 13/16] linux-user: support the setns syscall, Paul Burton, 2014/06/15
- [Qemu-devel] [PATCH 15/16] linux-user: support the KDSIGACCEPT ioctl, Paul Burton, 2014/06/15
- [Qemu-devel] [PATCH 14/16] linux-user: support the unshare syscall,
Paul Burton <=
- [Qemu-devel] [PATCH 16/16] linux-user: support the SIOCGIFINDEX ioctl, Paul Burton, 2014/06/15
- Re: [Qemu-devel] [PATCH 00/16] linux-user fixes & improvements, Riku Voipio, 2014/06/17
- Re: [Qemu-devel] [PATCH 00/16] linux-user fixes & improvements, Riku Voipio, 2014/06/21