qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL 01/01] seccomp: add mlockall to whitelist


From: Eduardo Otubo
Subject: [Qemu-devel] [PULL 01/01] seccomp: add mlockall to whitelist
Date: Fri, 23 Jan 2015 14:21:46 +0100

From: Paolo Bonzini <address@hidden>

This is used by "-realtime mlock=on".

Signed-off-by: Eduardo Otubo <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Amit Shah <address@hidden>
Reviewed-by: Eduardo Habkost <address@hidden>
Tested-by: Eduardo Habkost <address@hidden>
Acked-by: Eduardo Otubo <address@hidden>
---
 qemu-seccomp.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/qemu-seccomp.c b/qemu-seccomp.c
index b0c6269..f9de0d3 100644
--- a/qemu-seccomp.c
+++ b/qemu-seccomp.c
@@ -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 },
-- 
1.9.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]