]> git.proxmox.com Git - mirror_qemu.git/commit
seccomp: adding getrusage to the whitelist
authorEduardo Otubo <eduardo.otubo@profitbricks.com>
Wed, 21 Sep 2016 09:09:22 +0000 (11:09 +0200)
committerEduardo Otubo <eduardo.otubo@profitbricks.com>
Wed, 21 Sep 2016 09:26:02 +0000 (11:26 +0200)
commitcf9dc9e4807464a9d0b3d7368b818323e14921eb
tree61741f0163d0908a2ecdbf987c09773ae4bf1aba
parenta008535b9fa396226ff9cf78b8ac5f3584bda58e
seccomp: adding getrusage to the whitelist

getrusage is used in a number of places throughout the qemu codebase
(notably, in crypto/pbkdf.c).  Without this syscall being whitelisted,
qemu ends up getting killed by the kernel whenever you try to connect to
a VNC console.

Signed-off-by: Brian Rak <brak@gameservers.com>
Acked-by: Eduardo Otubo <eduardo.otubo@profitbricks.com>
qemu-seccomp.c