qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Whitelist sysinfo call
@ 2016-03-07  9:34 mrezanin
  2016-03-11  8:51 ` Eduardo Otubo
  2016-04-11 20:19 ` Serge Hallyn
  0 siblings, 2 replies; 7+ messages in thread
From: mrezanin @ 2016-03-07  9:34 UTC (permalink / raw)
  To: qemu-devel; +Cc: Miroslav Rezanina, armbru

From: Miroslav Rezanina <mrezanin@redhat.com>

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>
---
 qemu-seccomp.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/qemu-seccomp.c b/qemu-seccomp.c
index 2866e3c..e29fca1 100644
--- a/qemu-seccomp.c
+++ b/qemu-seccomp.c
@@ -250,6 +250,7 @@ static const struct QemuSeccompSyscall seccomp_whitelist[] = {
 #ifdef HAVE_CACHEFLUSH
     { SCMP_SYS(cacheflush), 240 },
 #endif
+    { SCMP_SYS(sysinfo), 240 },
 };
 
 int seccomp_start(void)
-- 
2.5.0

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-04-12 12:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-07  9:34 [Qemu-devel] [PATCH] Whitelist sysinfo call mrezanin
2016-03-11  8:51 ` Eduardo Otubo
2016-03-21 12:17   ` Miroslav Rezanina
2016-04-01  8:47     ` Eduardo Otubo
2016-04-11 20:19 ` Serge Hallyn
2016-04-12 11:53   ` Eduardo Otubo
2016-04-12 12:03     ` Miroslav Rezanina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).