Skip to contentSkip to conversation

seccomp branch queue

GIT PULL Applied Eduardo Otubo 2 participants 3 messages Sep 21, 2016 – Sep 22, 2016

lore
Share & tools
lore
#0 lore raw

The following changes since commit a008535b9fa396226ff9cf78b8ac5f3584bda58e:

build-sys: fix make install regression (2016-09-20 11:32:43 +0100)

are available in the git repository at:

git://github.com/otubo/qemu.git tags/pull-seccomp-20160921

for you to fetch changes up to cf9dc9e4807464a9d0b3d7368b818323e14921eb:

seccomp: adding getrusage to the whitelist (2016-09-21 11:26:02 +0200)

----------------------------------------------------------------
seccomp branch queue

----------------------------------------------------------------
Eduardo Otubo (1):
seccomp: adding getrusage to the whitelist

 qemu-seccomp.c | 1 +
 1 file changed, 1 insertion(+)
Signature · 1 line
2.7.4
#1 lore raw

[Qemu-devel] [PULL 01/01] 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.

---
 qemu-seccomp.c | 1 +
 1 file changed, 1 insertion(+)
qemu-seccomp.c +1 -0
index cb569dc..df75d9c 100644
@@ -65,6 +65,7 @@ static const struct QemuSeccompSyscall seccomp_whitelist[] = {
     { SCMP_SYS(prctl), 245 },
     { SCMP_SYS(signalfd), 245 },
     { SCMP_SYS(getrlimit), 245 },
+    { SCMP_SYS(getrusage), 245 },
     { SCMP_SYS(set_tid_address), 245 },
     { SCMP_SYS(statfs), 245 },
     { SCMP_SYS(unlink), 245 },
Signature · 1 line
2.7.4
#2 lore raw
In reply to Eduardo Otubo
Quoted 8 lines · Eduardo Otubo

The following changes since commit a008535b9fa396226ff9cf78b8ac5f3584bda58e:

build-sys: fix make install regression (2016-09-20 11:32:43 +0100)

are available in the git repository at:

git://github.com/otubo/qemu.git tags/pull-seccomp-20160921

Quoted 8 lines

for you to fetch changes up to cf9dc9e4807464a9d0b3d7368b818323e14921eb:

seccomp: adding getrusage to the whitelist (2016-09-21 11:26:02 +0200)

----------------------------------------------------------------
seccomp branch queue

----------------------------------------------------------------

Applied, thanks.

-- PMM