]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
add clock_gettime64(2) to sandbox allowed syscalls
authorDamien Miller <djm@mindrot.org>
Mon, 3 Feb 2020 08:40:12 +0000 (19:40 +1100)
committerDamien Miller <djm@mindrot.org>
Mon, 3 Feb 2020 08:40:12 +0000 (19:40 +1100)
bz3093

sandbox-seccomp-filter.c

index 0914e48baeaa4042edd33bbaefa2a76d768da54f..f80981faf21c411944f4268e9bd65a6e8c717b14 100644 (file)
@@ -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