diff options
author | Damien Miller <djm@mindrot.org> | 2020-02-03 19:40:12 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2020-02-03 19:40:12 +1100 |
commit | ccd3b247d59d3bde16c3bef0ea888213fbd6da86 (patch) | |
tree | 7434f9e0493f8728570ecfa09078394e83b143cd /sandbox-seccomp-filter.c | |
parent | adffbe1c645ad2887ba0b6d24c194aa7a40c5735 (diff) | |
download | openssh-git-ccd3b247d59d3bde16c3bef0ea888213fbd6da86.tar.gz |
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 0914e48b..f80981fa 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 |