]> git.pld-linux.org Git - packages/openssh.git/blame - allow_pselect6_time64.patch
remove openssh-5.8p1-authorized-keys-command.patch
[packages/openssh.git] / allow_pselect6_time64.patch
CommitLineData
e17f5bba
JP
1From 0f90440ca70abab947acbd77795e9f130967956c Mon Sep 17 00:00:00 2001
2From: Darren Tucker <dtucker@dtucker.net>
3Date: Fri, 20 Nov 2020 13:37:54 +1100
4Subject: Add new pselect6_time64 syscall on ARM.
5
6This is apparently needed on armhfp/armv7hl. bz#3232, patch from
7jjelen at redhat.com.
8---
9 sandbox-seccomp-filter.c | 3 +++
10 1 file changed, 3 insertions(+)
11
12(limited to 'sandbox-seccomp-filter.c')
13
14diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c
15index e0768c06..5065ae7e 100644
16--- a/sandbox-seccomp-filter.c
17+++ b/sandbox-seccomp-filter.c
18@@ -267,6 +267,9 @@ static const struct sock_filter preauth_insns[] = {
19 #ifdef __NR_pselect6
20 SC_ALLOW(__NR_pselect6),
21 #endif
22+#ifdef __NR_pselect6_time64
23+ SC_ALLOW(__NR_pselect6_time64),
24+#endif
25 #ifdef __NR_read
26 SC_ALLOW(__NR_read),
27 #endif
28--
29cgit v1.2.3
30
This page took 0.042063 seconds and 4 git commands to generate.