mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
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: Miroslav Rezanina <mrezanin@redhat.com> Acked-by: Eduardo Otubo <eduardo.otubo@profitbricks.com>
This commit is contained in:
committed by
Eduardo Otubo
parent
81bed73b53
commit
8e08f8a4a7
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user