From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57065) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDw5V-0007vt-M8 for qemu-devel@nongnu.org; Wed, 21 Jan 2015 09:16:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YDw5R-0000IK-M5 for qemu-devel@nongnu.org; Wed, 21 Jan 2015 09:16:53 -0500 Received: from mail-wi0-f180.google.com ([209.85.212.180]:50764) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDw5R-0000Hx-Cn for qemu-devel@nongnu.org; Wed, 21 Jan 2015 09:16:49 -0500 Received: by mail-wi0-f180.google.com with SMTP id bs8so33573756wib.1 for ; Wed, 21 Jan 2015 06:16:48 -0800 (PST) Date: Wed, 21 Jan 2015 15:16:45 +0100 From: Eduardo Otubo Message-ID: <20150121141644.GB14268@vader> References: <1421760753-2678-1-git-send-email-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1421760753-2678-1-git-send-email-pbonzini@redhat.com> Subject: Re: [Qemu-devel] [PATCH] seccomp: add mlockall to whitelist List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org On Tue, Jan 20, 2015 at 02:32:33PM +0100, Paolo Bonzini wrote: > This is used by "-realtime mlock=on". > > Signed-off-by: Paolo Bonzini > --- > 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 }, > -- > 2.1.0 > Signed-off-by: Eduardo Otubo Acked-by: Eduardo Otubo I'll make a pull request by Friday at the end of the day. Thanks for the patch. -- Eduardo Otubo ProfitBricks GmbH