Commit 8e08f8a4 authored by Miroslav Rezanina's avatar Miroslav Rezanina Committed by Eduardo Otubo

seccomp: adding sysinfo system call to whitelist

Newer version of nss-softokn libraries (> 3.16.2.3) use sysinfo call
so qemu using rbd image hang after start when run in sandbox mode.

To allow using rbd images in sandbox mode we have to whitelist it.
Signed-off-by: 's avatarMiroslav Rezanina <mrezanin@redhat.com>
Acked-by: 's avatarEduardo Otubo <eduardo.otubo@profitbricks.com>
parent 81bed73b
......@@ -252,6 +252,7 @@ static const struct QemuSeccompSyscall seccomp_whitelist[] = {
#ifdef HAVE_CACHEFLUSH
{ SCMP_SYS(cacheflush), 240 },
#endif
{ SCMP_SYS(sysinfo), 240 },
};
int seccomp_start(void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment