]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Allow ppoll_time64 in seccomp sandbox.
authorDarren Tucker <dtucker@dtucker.net>
Sat, 26 Feb 2022 03:06:14 +0000 (14:06 +1100)
committerDarren Tucker <dtucker@dtucker.net>
Sat, 26 Feb 2022 03:14:40 +0000 (14:14 +1100)
Should fix sandbox violations on (some? at least i386 and armhf) 32bit
Linux platforms.  Patch from chutzpahu at gentoo.org and cjwatson at
debian.org via bz#3396.

sandbox-seccomp-filter.c

index 2e065ba3edb69a64addd4c1ac7135f2ce8da1250..4ce80cb2a739ddc48d333e6fd2bbe88c69c92112 100644 (file)
@@ -276,6 +276,9 @@ static const struct sock_filter preauth_insns[] = {
 #ifdef __NR_ppoll
        SC_ALLOW(__NR_ppoll),
 #endif
+#ifdef __NR_ppoll_time64
+       SC_ALLOW(__NR_ppoll_time64),
+#endif
 #ifdef __NR_poll
        SC_ALLOW(__NR_poll),
 #endif