diff options
author | Damien Miller <djm@mindrot.org> | 2020-02-03 09:40:12 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2020-02-03 09:40:12 +0100 |
commit | ccd3b247d59d3bde16c3bef0ea888213fbd6da86 (patch) | |
tree | 7434f9e0493f8728570ecfa09078394e83b143cd /sandbox-seccomp-filter.c | |
parent | upstream: Output (none) in debug in the case in the CheckHostIP=no case (diff) | |
download | openssh-ccd3b247d59d3bde16c3bef0ea888213fbd6da86.tar.xz openssh-ccd3b247d59d3bde16c3bef0ea888213fbd6da86.zip |
add clock_gettime64(2) to sandbox allowed syscalls
bz3093
Diffstat (limited to 'sandbox-seccomp-filter.c')
-rw-r--r-- | sandbox-seccomp-filter.c | 3 |
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[] = { #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 |