summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnthony Liguori2013-12-07 16:35:01 +0100
committerAnthony Liguori2013-12-07 16:35:01 +0100
commit2a576ee6e36924bb3c3e6690e9ca35a9942e0634 (patch)
tree97619e68fa5b57754b95a01c1bfe983b7719fae0
parentMerge remote-tracking branch 'kwolf/tags/for-anthony' into staging (diff)
parentseccomp: add kill() to the syscall whitelist (diff)
downloadqemu-2a576ee6e36924bb3c3e6690e9ca35a9942e0634.tar.gz
qemu-2a576ee6e36924bb3c3e6690e9ca35a9942e0634.tar.xz
qemu-2a576ee6e36924bb3c3e6690e9ca35a9942e0634.zip
Merge remote-tracking branch 'otubo/seccomp' into staging
# By Paul Moore # Via Eduardo Otubo * otubo/seccomp: seccomp: add kill() to the syscall whitelist Message-id: 1386075077-3240-1-git-send-email-otubo@linux.vnet.ibm.com Signed-off-by: Anthony Liguori <aliguori@amazon.com>
-rw-r--r--qemu-seccomp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/qemu-seccomp.c b/qemu-seccomp.c
index 69cee443af..cf07869599 100644
--- a/qemu-seccomp.c
+++ b/qemu-seccomp.c
@@ -114,6 +114,7 @@ static const struct QemuSeccompSyscall seccomp_whitelist[] = {
{ SCMP_SYS(write), 244 },
{ SCMP_SYS(fcntl), 243 },
{ SCMP_SYS(tgkill), 242 },
+ { SCMP_SYS(kill), 242 },
{ SCMP_SYS(rt_sigaction), 242 },
{ SCMP_SYS(pipe2), 242 },
{ SCMP_SYS(munmap), 242 },