summaryrefslogtreecommitdiff
path: root/sandbox-seccomp-filter.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2013-06-02 09:17:09 +1000
committerDarren Tucker <dtucker@zip.com.au>2013-06-02 09:17:09 +1000
commite9887d1c37940b9d6c72d55cfad7a40de4c6e28d (patch)
treef4a9916159cd7ad5f2b11707590618b9a0408b19 /sandbox-seccomp-filter.c
parent65cf74079a2d563c4ede649116a13ca78c8cc2a4 (diff)
- (dtucker) [sandbox-seccomp-filter.c] Allow clock_gettimeofday.
Diffstat (limited to 'sandbox-seccomp-filter.c')
-rw-r--r--sandbox-seccomp-filter.c1
1 files changed, 1 insertions, 0 deletions
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[] = {
91 SC_DENY(open, EACCES), 91 SC_DENY(open, EACCES),
92 SC_ALLOW(getpid), 92 SC_ALLOW(getpid),
93 SC_ALLOW(gettimeofday), 93 SC_ALLOW(gettimeofday),
94 SC_ALLOW(clock_gettime),
94#ifdef __NR_time /* not defined on EABI ARM */ 95#ifdef __NR_time /* not defined on EABI ARM */
95 SC_ALLOW(time), 96 SC_ALLOW(time),
96#endif 97#endif