mirror of
https://github.com/qemu/qemu.git
synced 2024-11-23 19:03:38 +08:00
seccomp: add mlockall to whitelist
This is used by "-realtime mlock=on". Signed-off-by: Eduardo Otubo <eduardo.otubo@profitbricks.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Amit Shah <amit.shah@redhat.com> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Tested-by: Eduardo Habkost <ehabkost@redhat.com> Acked-by: Eduardo Otubo <eduardo.otubo@profitbricks.com>
This commit is contained in:
parent
8f970eff6e
commit
4b45b05549
@ -229,6 +229,7 @@ static const struct QemuSeccompSyscall seccomp_whitelist[] = {
|
||||
{ SCMP_SYS(shmdt), 240 },
|
||||
{ SCMP_SYS(timerfd_create), 240 },
|
||||
{ SCMP_SYS(shmctl), 240 },
|
||||
{ SCMP_SYS(mlockall), 240 },
|
||||
{ SCMP_SYS(mlock), 240 },
|
||||
{ SCMP_SYS(munlock), 240 },
|
||||
{ SCMP_SYS(semctl), 240 },
|
||||
|
Loading…
Reference in New Issue
Block a user