From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39024) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKZgc-00032r-Du for qemu-devel@nongnu.org; Mon, 03 Mar 2014 15:42:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WKZgW-0006ft-Ep for qemu-devel@nongnu.org; Mon, 03 Mar 2014 15:42:06 -0500 Received: from mx1.redhat.com ([209.132.183.28]:29107) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKZgW-0006dK-6t for qemu-devel@nongnu.org; Mon, 03 Mar 2014 15:42:00 -0500 From: Paul Moore Date: Mon, 03 Mar 2014 15:41:54 -0500 Message-ID: <1422240.VnSJ3J12An@sifl> In-Reply-To: <20140226152501.5062.42074.stgit@localhost> References: <20140226152501.5062.42074.stgit@localhost> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [Qemu-devel] [PATCH] seccomp: add shmctl(), mlock(), and munlock() to the syscall whitelist List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, otubo@linux.vnet.ibm.com On Wednesday, February 26, 2014 10:25:01 AM Paul Moore wrote: > Additional testing reveals that PulseAudio requires shmctl() and the > mlock()/munlock() syscalls on some systems/configurations. As before, > on systems that do require these syscalls, the problem can be seen with > the following command line: > > # qemu -monitor stdio -sandbox on \ > -device intel-hda -device hda-duplex > > Signed-off-by: Paul Moore > --- > qemu-seccomp.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/qemu-seccomp.c b/qemu-seccomp.c > index caa926e..3db1e9b 100644 > --- a/qemu-seccomp.c > +++ b/qemu-seccomp.c > @@ -225,7 +225,10 @@ static const struct QemuSeccompSyscall > seccomp_whitelist[] = { { SCMP_SYS(fchmod), 240 }, > { SCMP_SYS(shmget), 240 }, > { SCMP_SYS(shmat), 240 }, > - { SCMP_SYS(shmdt), 240 } > + { SCMP_SYS(shmdt), 240 }, > + { SCMP_SYS(shmctl), 240 }, > + { SCMP_SYS(mlock), 240 }, > + { SCMP_SYS(munlock), 240 } > }; > > int seccomp_start(void) Bump to bring this back the forefront of everyone's minds. Can we get this merged? -- paul moore security and virtualization @ redhat