seccomp: add arch_prctl() to the syscall whitelist
commitd2509b667caf482b6f827ff2645cbeb9b39ce29e
authorPaul Moore <pmoore@redhat.com>
Thu, 18 Jul 2013 13:57:03 +0000 (18 09:57 -0400)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 30 Jul 2013 00:56:52 +0000 (29 19:56 -0500)
treeb5380be92618b3729ae7752fbfd91b9b7d1c09ac
parent94113bd8a1d9acd05a879bc309cc659ace09e287
seccomp: add arch_prctl() to the syscall whitelist

It appears that even a very simple /etc/qemu-ifup configuration can
require the arch_prctl() syscall, see the example below:

#!/bin/sh
/sbin/ifconfig $1 0.0.0.0 up
/usr/sbin/brctl addif <switch> $1

Signed-off-by: Paul Moore <pmoore@redhat.com>
Reviewed-by: Eduardo Otubo <otubo@linux.vnet.ibm.com>
Message-id: 20130718135703.8247.19213.stgit@localhost
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qemu-seccomp.c