qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL 01/01] seccomp: fine tuning whitelist by adding times


From: Eduardo Otubo
Subject: [Qemu-devel] [PULL 01/01] seccomp: fine tuning whitelist by adding times()
Date: Tue, 24 Sep 2013 15:30:58 -0300

From: Eduardo Otubo <address@hidden>

This was causing Qemu process to hang when using -sandbox on as
discribed on RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1004175

Signed-off-by: Eduardo Otubo <address@hidden>
Tested-by: Paul Moore <address@hidden>
Acked-by: Paul Moore <address@hidden>
---
 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]