6a2fce
commit 7e929163ed40f9ce90060a3ca6df558c3d901379
6a2fce
Author: Jakub Jelen <jjelen@redhat.com>
6a2fce
Date:   Wed Nov 13 12:57:05 2019 +0100
6a2fce
6a2fce
    seccomp: Allow clock_nanosleep() to make OpenSSH working with latest glibc
6a2fce
6a2fce
diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c
6a2fce
index b5cda70b..be239767 100644
6a2fce
--- a/sandbox-seccomp-filter.c
6a2fce
+++ b/sandbox-seccomp-filter.c
6a2fce
@@ -242,6 +242,9 @@ static const struct sock_filter preauth_insns[] = {
6a2fce
 #ifdef __NR_nanosleep
6a2fce
 	SC_ALLOW(__NR_nanosleep),
6a2fce
 #endif
6a2fce
+#ifdef __NR_clock_nanosleep
6a2fce
+	SC_ALLOW(__NR_clock_nanosleep),
6a2fce
+#endif
6a2fce
 #ifdef __NR__newselect
6a2fce
 	SC_ALLOW(__NR__newselect),
6a2fce
 #endif
6a2fce