From 7f46693182a4b564a3fb778a63527d3b1222e5ee Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Feb 02 2020 23:50:34 +0000 Subject: Unbreak seccomp filter on ARM (#1796267) --- diff --git a/openssh-8.1p1-seccomp-nanosleep.patch b/openssh-8.1p1-seccomp-nanosleep.patch index 87f4bd4..a7a16fd 100644 --- a/openssh-8.1p1-seccomp-nanosleep.patch +++ b/openssh-8.1p1-seccomp-nanosleep.patch @@ -29,13 +29,16 @@ diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c index be239767..3ef30c9d 100644 --- a/sandbox-seccomp-filter.c +++ b/sandbox-seccomp-filter.c -@@ -245,6 +245,9 @@ static const struct sock_filter preauth_insns[] = { +@@ -245,6 +245,12 @@ static const struct sock_filter preauth_insns[] = { #ifdef __NR_clock_nanosleep SC_ALLOW(__NR_clock_nanosleep), #endif +#ifdef __NR_clock_nanosleep_time64 + SC_ALLOW(__NR_clock_nanosleep_time64), +#endif ++#ifdef __NR_clock_gettime64 ++ SC_ALLOW(__NR_clock_gettime64), ++#endif #ifdef __NR__newselect SC_ALLOW(__NR__newselect), #endif