OSDN Git Service

seccomp: add shmctl(), mlock(), and munlock() to the syscall whitelist
authorPaul Moore <pmoore@redhat.com>
Wed, 26 Feb 2014 15:25:01 +0000 (10:25 -0500)
committerEduardo Otubo <otubo@linux.vnet.ibm.com>
Fri, 25 Apr 2014 17:52:03 +0000 (14:52 -0300)
commite3f9bb011ae24a594310fa4917754945dc832f8f
tree057e5123b92cf43787bf5d81acc5daadc2cf3fb3
parent84397618529f920bea45d0bab22ec097766244fc
seccomp: add shmctl(), mlock(), and munlock() to the syscall whitelist

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 <pmoore@redhat.com>
Signed-off-by: Eduardo Otubo <otubo@linux.vnet.ibm.com>
qemu-seccomp.c