Received: from eggs.gnu.org ([2001:4830:134:3::10]:48969) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEeBY-0004Xr-Ck for qemu-devel@nongnu.org; Fri, 23 Jan 2015 08:22:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YEeBT-0007WS-Rd for qemu-devel@nongnu.org; Fri, 23 Jan 2015 08:22:04 -0500 Received: from mail-wi0-f176.google.com ([209.85.212.176]:40197) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEeBT-0007WL-KX for qemu-devel@nongnu.org; Fri, 23 Jan 2015 08:21:59 -0500 Received: by mail-wi0-f176.google.com with SMTP id em10so2784296wid.3 for ; Fri, 23 Jan 2015 05:21:59 -0800 (PST) From: Eduardo Otubo Date: Fri, 23 Jan 2015 14:21:46 +0100 Message-Id: <1422019306-18885-2-git-send-email-eduardo.otubo@profitbricks.com> In-Reply-To: <1422019306-18885-1-git-send-email-eduardo.otubo@profitbricks.com> References: <1422019306-18885-1-git-send-email-eduardo.otubo@profitbricks.com> Subject: [Qemu-devel] [PULL 01/01] seccomp: add mlockall to whitelist List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, ehabkost@redhat.com, pmoore@redhat.com, Eduardo Otubo , amit.shah@redhat.com, Paolo Bonzini From: Paolo Bonzini This is used by "-realtime mlock=on". Signed-off-by: Eduardo Otubo Signed-off-by: Paolo Bonzini Reviewed-by: Amit Shah Reviewed-by: Eduardo Habkost Tested-by: Eduardo Habkost Acked-by: Eduardo Otubo --- 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