From e9887d1c37940b9d6c72d55cfad7a40de4c6e28d Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Sun, 2 Jun 2013 09:17:09 +1000 Subject: - (dtucker) [sandbox-seccomp-filter.c] Allow clock_gettimeofday. --- sandbox-seccomp-filter.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sandbox-seccomp-filter.c') diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c index e12418399..cc1465305 100644 --- a/sandbox-seccomp-filter.c +++ b/sandbox-seccomp-filter.c @@ -91,6 +91,7 @@ static const struct sock_filter preauth_insns[] = { SC_DENY(open, EACCES), SC_ALLOW(getpid), SC_ALLOW(gettimeofday), + SC_ALLOW(clock_gettime), #ifdef __NR_time /* not defined on EABI ARM */ SC_ALLOW(time), #endif -- cgit v1.2.3