From: Eduardo Otubo Date: Tue, 24 Sep 2013 17:50:44 +0000 (-0300) Subject: seccomp: fine tuning whitelist by adding times() X-Git-Tag: qemu-xen-4.5.0-rc1~428^2 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=c236f4519c9838801798f3705c17dce9ab9e3b9d;p=qemu-upstream-4.5-testing.git seccomp: fine tuning whitelist by adding times() 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 Tested-by: Paul Moore Acked-by: Paul Moore --- diff --git a/qemu-seccomp.c b/qemu-seccomp.c index 37d38f881..69cee443a 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 },