seccomp: add mlockall to whitelist
PATCH 1/1 seccomp: add mlockall to whitelist
This is used by "-realtime mlock=on".
Signed-off-by Paolo Bonzini <[email protected]>
--- qemu-seccomp.c | 1 + 1 file changed, 1 insertion(+)
qemu-seccomp.c +1 -0
@@ -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 },
Signature · 1 line
2.1.0
Quoted 3 lines · Paolo Bonzini
This is used by "-realtime mlock=on".
Signed-off-by Paolo Bonzini <[email protected]>
Reviewed-by Amit Shah <[email protected]>
Amit
Quoted 22 lines · Paolo Bonzini
This is used by "-realtime mlock=on".
Signed-off-by Paolo Bonzini <[email protected]>--- qemu-seccomp.c | 1 + 1 file changed, 1 insertion(+)qemu-seccomp.c +1
-0@@ -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 },Signature · 1 line
2.1.0
Signed-off-by Eduardo Otubo <[email protected]>
Acked-by Eduardo Otubo <[email protected]>
I'll make a pull request by Friday at the end of the day. Thanks for the patch.
Signature · 2 lines
Eduardo Otubo ProfitBricks GmbH
Quoted 3 lines · Paolo Bonzini
This is used by "-realtime mlock=on".
Signed-off-by Paolo Bonzini <[email protected]>
Reviewed-by Eduardo Habkost <[email protected]>
Tested-by Eduardo Habkost <[email protected]>
Signature · 1 line
Eduardo