mirror of https://github.com/xqemu/xqemu.git
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>
This commit is contained in:
commit
fd3cced366
|
@ -230,7 +230,8 @@ static const struct QemuSeccompSyscall seccomp_whitelist[] = {
|
||||||
{ SCMP_SYS(timerfd_create), 240 },
|
{ SCMP_SYS(timerfd_create), 240 },
|
||||||
{ SCMP_SYS(shmctl), 240 },
|
{ SCMP_SYS(shmctl), 240 },
|
||||||
{ SCMP_SYS(mlock), 240 },
|
{ SCMP_SYS(mlock), 240 },
|
||||||
{ SCMP_SYS(munlock), 240 }
|
{ SCMP_SYS(munlock), 240 },
|
||||||
|
{ SCMP_SYS(semctl), 240 }
|
||||||
};
|
};
|
||||||
|
|
||||||
int seccomp_start(void)
|
int seccomp_start(void)
|
||||||
|
|
Loading…
Reference in New Issue