From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48728) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zkhaz-000624-7M for qemu-devel@nongnu.org; Fri, 09 Oct 2015 20:01:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zkhav-0004xc-56 for qemu-devel@nongnu.org; Fri, 09 Oct 2015 20:01:05 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:38360) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZkZUU-0005nZ-OJ for qemu-devel@nongnu.org; Fri, 09 Oct 2015 11:21:51 -0400 Received: by wiclk2 with SMTP id lk2so71939856wic.1 for ; Fri, 09 Oct 2015 08:21:49 -0700 (PDT) Date: Fri, 9 Oct 2015 17:21:47 +0200 From: Eduardo Otubo Message-ID: <20151009152146.GE24950@vader> References: <1444403861-3240-1-git-send-email-marcandre.lureau@redhat.com> <1444403861-3240-28-git-send-email-marcandre.lureau@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="orO6xySwJI16pVnm" Content-Disposition: inline In-Reply-To: <1444403861-3240-28-git-send-email-marcandre.lureau@redhat.com> Subject: Re: [Qemu-devel] [PATCH v8 27/27] seccomp: add memfd_create to whitelist List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: marcandre.lureau@redhat.com Cc: haifeng.lin@huawei.com, mst@redhat.com, thibaut.collet@6wind.com, jasowang@redhat.com, qemu-devel@nongnu.org, pbonzini@redhat.com --orO6xySwJI16pVnm Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 09, 2015 at 05=3D17=3D41PM +0200, marcandre.lureau@redhat.com w= rote: > From: Eduardo Otubo >=20 > This is used by memfd code. >=20 > Signed-off-by: Eduardo Otubo > Signed-off-by: Marc-Andr=C3=A9 Lureau > --- > qemu-seccomp.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 > 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 > 2.4.3 >=20 Acked-by: Eduardo Otubo --=20 Eduardo Otubo ProfitBricks GmbH --orO6xySwJI16pVnm Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJWF9uKAAoJEP0M/1sS+L0vOj4IAJQPPl4UGXlDM9Td7eRfcLHu R+4Ot+d/UZzqqY5kda9i/pgBnpZi44+bnstn3DO0RBBCbE2H3327iB5hHG+tjsWC oA74EgdnQGyh3TLwTEjtFn09K1qJLtH+DEnk0gH4hKJuaOH9wv/tUTZc4Z8QDNqc +MQT88oYj1s/bK1KGaw26TtdtmtGwzgr0AhgZ0V8MOpzc5IBjdD5DXD61xAPoJHB IQT9tcCbGwFL7kVVya8CgwvDmiZxaN2BxNy/F5DYxzQ6JjF5J1Ca1BykrxKljgO/ kug+ql9hs+Un1RHgDjo3QDtrzV+HTS6+zqxUvrXvkNJajkTQd41Crt8+Hd7aRw8= =XyIB -----END PGP SIGNATURE----- --orO6xySwJI16pVnm--