From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35723) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoqdL-00072l-5Y for qemu-devel@nongnu.org; Wed, 21 Oct 2015 06:28:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZoqdK-0006lg-3r for qemu-devel@nongnu.org; Wed, 21 Oct 2015 06:28:39 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58062) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoqdJ-0006lW-Ub for qemu-devel@nongnu.org; Wed, 21 Oct 2015 06:28:38 -0400 Date: Wed, 21 Oct 2015 13:28:33 +0300 From: "Michael S. Tsirkin" Message-ID: <1445423133-5119-35-git-send-email-mst@redhat.com> References: <1445423133-5119-1-git-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <1445423133-5119-1-git-send-email-mst@redhat.com> Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PULL 34/38] seccomp: add memfd_create to whitelist List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , Thibaut Collet , Eduardo Otubo , =?us-ascii?B?PT9VVEYtOD9xP01hcmMtQW5kcj1DMz1BOT0yMEx1cmVhdT89?= From: Eduardo Otubo This is used by memfd code. Signed-off-by: Eduardo Otubo Signed-off-by: Marc-Andr=E9 Lureau Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Tested-by: Thibaut Collet --- qemu-seccomp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qemu-seccomp.c b/qemu-seccomp.c index f9de0d3..80d034a 100644 --- a/qemu-seccomp.c +++ b/qemu-seccomp.c @@ -237,7 +237,8 @@ static const struct QemuSeccompSyscall seccomp_whitel= ist[] =3D { { SCMP_SYS(fadvise64), 240 }, { SCMP_SYS(inotify_init1), 240 }, { SCMP_SYS(inotify_add_watch), 240 }, - { SCMP_SYS(mbind), 240 } + { SCMP_SYS(mbind), 240 }, + { SCMP_SYS(memfd_create), 240 } }; =20 int seccomp_start(void) --=20 MST