From 7f46693182a4b564a3fb778a63527d3b1222e5ee Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Mon, 3 Feb 2020 00:50:34 +0100 Subject: [PATCH] Unbreak seccomp filter on ARM (#1796267) --- openssh-8.1p1-seccomp-nanosleep.patch | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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,12 +29,15 @@ 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),