qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] seccomp: adding times() to the whitelist
@ 2013-09-04 12:25 Eduardo Otubo
  2013-09-04 13:10 ` Corey Bryant
  2013-09-04 14:11 ` Paul Moore
  0 siblings, 2 replies; 15+ messages in thread
From: Eduardo Otubo @ 2013-09-04 12:25 UTC (permalink / raw)
  To: qemu-devel; +Cc: pmoore, coreyb, Eduardo Otubo

This was causing Qemu process to hang when using -sandbox on.

Related RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1004175

Signed-off-by: Eduardo Otubo <otubo@linux.vnet.ibm.com>
---
 qemu-seccomp.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/qemu-seccomp.c b/qemu-seccomp.c
index 37d38f8..69cee44 100644
--- a/qemu-seccomp.c
+++ b/qemu-seccomp.c
@@ -90,6 +90,7 @@ static const struct QemuSeccompSyscall seccomp_whitelist[] = {
     { SCMP_SYS(getuid), 245 },
     { SCMP_SYS(geteuid), 245 },
     { SCMP_SYS(timer_create), 245 },
+    { SCMP_SYS(times), 245 },
     { SCMP_SYS(exit), 245 },
     { SCMP_SYS(clock_gettime), 245 },
     { SCMP_SYS(time), 245 },
-- 
1.7.1

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

end of thread, other threads:[~2013-09-23 19:57 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-04 12:25 [Qemu-devel] [PATCH] seccomp: adding times() to the whitelist Eduardo Otubo
2013-09-04 13:10 ` Corey Bryant
2013-09-04 14:11 ` Paul Moore
2013-09-06 18:41   ` Eduardo Otubo
2013-09-09 10:38     ` Paolo Bonzini
2013-09-09 12:36       ` Paul Moore
2013-09-09 13:20         ` Eduardo Otubo
2013-09-09 13:48           ` [Qemu-devel] seccomp submaintainer? (was Re: [PATCH] seccomp: adding times() to the whitelist) Paolo Bonzini
2013-09-09 14:44             ` Paul Moore
2013-09-09 16:40             ` Anthony Liguori
2013-09-13 14:45   ` [Qemu-devel] [PATCH] seccomp: adding times() to the whitelist Paul Moore
2013-09-23 19:49     ` Eduardo Otubo
2013-09-23 19:54       ` Anthony Liguori
2013-09-23 19:53   ` Paul Moore
2013-09-23 19:56     ` Eduardo Otubo

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).