1 From ccd3b247d59d3bde16c3bef0ea888213fbd6da86 Mon Sep 17 00:00:00 2001
2 From: Damien Miller <djm@mindrot.org>
3 Date: Mon, 3 Feb 2020 19:40:12 +1100
4 Subject: [PATCH] add clock_gettime64(2) to sandbox allowed syscalls
8 sandbox-seccomp-filter.c | 3 +++
9 1 file changed, 3 insertions(+)
11 diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c
12 index 0914e48ba..f80981faf 100644
13 --- a/sandbox-seccomp-filter.c
14 +++ b/sandbox-seccomp-filter.c
15 @@ -188,6 +188,9 @@ static const struct sock_filter preauth_insns[] = {
16 #ifdef __NR_clock_gettime
17 SC_ALLOW(__NR_clock_gettime),
19 +#ifdef __NR_clock_gettime64
20 + SC_ALLOW(__NR_clock_gettime64),