summaryrefslogtreecommitdiffstats
path: root/sandbox-seccomp-filter.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2020-11-20 03:37:54 +0100
committerDarren Tucker <dtucker@dtucker.net>2020-11-20 03:37:54 +0100
commit0f90440ca70abab947acbd77795e9f130967956c (patch)
treec518850d9e08675ddf19ff15bfe8ea018855e7d5 /sandbox-seccomp-filter.c
parentupstream: Explicitly initialize all members of the (diff)
downloadopenssh-0f90440ca70abab947acbd77795e9f130967956c.tar.xz
openssh-0f90440ca70abab947acbd77795e9f130967956c.zip
Add new pselect6_time64 syscall on ARM.
This is apparently needed on armhfp/armv7hl. bz#3232, patch from jjelen at redhat.com.
Diffstat (limited to 'sandbox-seccomp-filter.c')
-rw-r--r--sandbox-seccomp-filter.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c
index e0768c063..5065ae7ef 100644
--- a/sandbox-seccomp-filter.c
+++ b/sandbox-seccomp-filter.c
@@ -267,6 +267,9 @@ static const struct sock_filter preauth_insns[] = {
#ifdef __NR_pselect6
SC_ALLOW(__NR_pselect6),
#endif
+#ifdef __NR_pselect6_time64
+ SC_ALLOW(__NR_pselect6_time64),
+#endif
#ifdef __NR_read
SC_ALLOW(__NR_read),
#endif