From: Darren Tucker Date: Wed, 10 Feb 2021 23:18:05 +0000 (+1100) Subject: Add __NR_futex_time64 to seccomp sandbox. X-Git-Tag: V_8_5_P1~66 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bb130ed34721d46452529d094d9bbf045607d79;p=thirdparty%2Fopenssh-portable.git Add __NR_futex_time64 to seccomp sandbox. This is apparently needed for (some) 32 bit platforms with glibc 2.33. Patch from nix at esperi.org.uk and jjelen at redhat.com via bz#3260. --- diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c index d942b5e16..d8dc7120b 100644 --- a/sandbox-seccomp-filter.c +++ b/sandbox-seccomp-filter.c @@ -207,6 +207,9 @@ static const struct sock_filter preauth_insns[] = { #ifdef __NR_futex SC_ALLOW(__NR_futex), #endif +#ifdef __NR_futex_time64 + SC_ALLOW(__NR_futex_time64), +#endif #ifdef __NR_geteuid SC_ALLOW(__NR_geteuid), #endif