diff options
author | Paul Moore | 2014-01-15 20:38:51 +0100 |
---|---|---|
committer | Eduardo Otubo | 2014-01-20 14:19:29 +0100 |
commit | 0c2acb163fbb4579dad2d45595570b0a9ff71149 (patch) | |
tree | 4a630be82a06446c29f301b7c9d898c419fec699 /include/hw/char/digic-uart.h | |
parent | SPARC: Fix LEON3 power down instruction (diff) | |
download | qemu-0c2acb163fbb4579dad2d45595570b0a9ff71149.tar.gz qemu-0c2acb163fbb4579dad2d45595570b0a9ff71149.tar.xz qemu-0c2acb163fbb4579dad2d45595570b0a9ff71149.zip |
seccomp: add mkdir() and fchmod() to the whitelist
The PulseAudio library attempts to do a mkdir(2) and fchmod(2) on
"/run/user/<UID>/pulse" which is currently blocked by the syscall
filter; this patch adds the two missing syscalls to the whitelist.
You can reproduce this problem with the following command:
# qemu -monitor stdio -device intel-hda -device hda-duplex
If watched under strace the following syscalls are shown:
mkdir("/run/user/0/pulse", 0700)
fchmod(11, 0700) [NOTE: 11 is the fd for /run/user/0/pulse]
Reported-by: xuhan@redhat.com
Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'include/hw/char/digic-uart.h')
0 files changed, 0 insertions, 0 deletions