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