Merge remote-tracking branch 'remotes/otubo/seccomp' into staging

* remotes/otubo/seccomp:
  seccomp: add semctl() to the syscall whitelist

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
master
Peter Maydell 2014-08-21 12:48:44 +01:00
commit fd3cced366
1 changed files with 2 additions and 1 deletions

View File

@ -230,7 +230,8 @@ static const struct QemuSeccompSyscall seccomp_whitelist[] = {
{ SCMP_SYS(timerfd_create), 240 },
{ SCMP_SYS(shmctl), 240 },
{ SCMP_SYS(mlock), 240 },
{ SCMP_SYS(munlock), 240 }
{ SCMP_SYS(munlock), 240 },
{ SCMP_SYS(semctl), 240 }
};
int seccomp_start(void)