summary refs log tree commit diff stats
path: root/qemu-seccomp.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2015-01-10 19:06:41 +0000
committerPeter Maydell <peter.maydell@linaro.org>2015-01-10 19:06:41 +0000
commite77d927f1a1876ef341b4df287939b0c935703d5 (patch)
tree486a2b8ffabb07cfce1511f31883e6a0c4cfc05f /qemu-seccomp.c
parentf1c5831ca3e3eafb89331233221768b64db113e8 (diff)
parentea259acae5b2d88ee6e92caf1cf44eb501eaef47 (diff)
downloadfocaccia-qemu-e77d927f1a1876ef341b4df287939b0c935703d5.tar.gz
focaccia-qemu-e77d927f1a1876ef341b4df287939b0c935703d5.zip
Merge remote-tracking branch 'remotes/otubo/tags/pull-seccomp-20150105' into staging
seccomp branch queue

# gpg: Signature made Mon 05 Jan 2015 17:17:01 GMT using RSA key ID 12F8BD2F
# gpg: Can't check signature: public key not found

* remotes/otubo/tags/pull-seccomp-20150105:
  seccomp: add mbind() to the syscall whitelist
  seccomp: typo in configure error message

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'qemu-seccomp.c')
-rw-r--r--qemu-seccomp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/qemu-seccomp.c b/qemu-seccomp.c
index af6a375127..b0c626984f 100644
--- a/qemu-seccomp.c
+++ b/qemu-seccomp.c
@@ -235,7 +235,8 @@ static const struct QemuSeccompSyscall seccomp_whitelist[] = {
     { SCMP_SYS(fallocate), 240 },
     { SCMP_SYS(fadvise64), 240 },
     { SCMP_SYS(inotify_init1), 240 },
-    { SCMP_SYS(inotify_add_watch), 240 }
+    { SCMP_SYS(inotify_add_watch), 240 },
+    { SCMP_SYS(mbind), 240 }
 };
 
 int seccomp_start(void)