From: Damien Miller Date: Mon, 3 Feb 2020 08:40:12 +0000 (+1100) Subject: add clock_gettime64(2) to sandbox allowed syscalls X-Git-Tag: V_8_2_P1~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ccd3b247d59d3bde16c3bef0ea888213fbd6da86;p=thirdparty%2Fopenssh-portable.git add clock_gettime64(2) to sandbox allowed syscalls bz3093 --- 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[] = { #ifdef __NR_clock_gettime SC_ALLOW(__NR_clock_gettime), #endif +#ifdef __NR_clock_gettime64 + SC_ALLOW(__NR_clock_gettime64), +#endif #ifdef __NR_close SC_ALLOW(__NR_close), #endif