提交 8e08f8a4 编写于 作者: M Miroslav Rezanina 提交者: 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: NMiroslav Rezanina <mrezanin@redhat.com>
Acked-by: NEduardo Otubo <eduardo.otubo@profitbricks.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册