summaryrefslogtreecommitdiff
path: root/sandbox-seccomp-filter.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2020-02-03 19:40:12 +1100
committerDamien Miller <djm@mindrot.org>2020-02-03 19:40:12 +1100
commitccd3b247d59d3bde16c3bef0ea888213fbd6da86 (patch)
tree7434f9e0493f8728570ecfa09078394e83b143cd /sandbox-seccomp-filter.c
parentadffbe1c645ad2887ba0b6d24c194aa7a40c5735 (diff)
add clock_gettime64(2) to sandbox allowed syscalls
bz3093
Diffstat (limited to 'sandbox-seccomp-filter.c')
-rw-r--r--sandbox-seccomp-filter.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c
index 0914e48ba..f80981faf 100644
--- a/sandbox-seccomp-filter.c
+++ b/sandbox-seccomp-filter.c
@@ -188,6 +188,9 @@ static const struct sock_filter preauth_insns[] = {
188#ifdef __NR_clock_gettime 188#ifdef __NR_clock_gettime
189 SC_ALLOW(__NR_clock_gettime), 189 SC_ALLOW(__NR_clock_gettime),
190#endif 190#endif
191#ifdef __NR_clock_gettime64
192 SC_ALLOW(__NR_clock_gettime64),
193#endif
191#ifdef __NR_close 194#ifdef __NR_close
192 SC_ALLOW(__NR_close), 195 SC_ALLOW(__NR_close),
193#endif 196#endif