summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sandbox/linux/seccomp/syscall_table.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sandbox/linux/seccomp/syscall_table.c b/sandbox/linux/seccomp/syscall_table.c
index 588a1b5..b306b63 100644
--- a/sandbox/linux/seccomp/syscall_table.c
+++ b/sandbox/linux/seccomp/syscall_table.c
@@ -37,6 +37,8 @@ const struct SyscallTable syscallTable[] __attribute__((
[ __NR_clock_gettime ] = { UNRESTRICTED_SYSCALL, 0 },
[ __NR_clone ] = { (void*)&sandbox_clone, process_clone },
[ __NR_close ] = { UNRESTRICTED_SYSCALL, 0 },
+ [ __NR_dup ] = { UNRESTRICTED_SYSCALL, 0 },
+ [ __NR_dup2 ] = { UNRESTRICTED_SYSCALL, 0 },
[ __NR_epoll_create ] = { UNRESTRICTED_SYSCALL, 0 },
[ __NR_epoll_ctl ] = { UNRESTRICTED_SYSCALL, 0 },
[ __NR_epoll_wait ] = { UNRESTRICTED_SYSCALL, 0 },