Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 1 | From 0f90440ca70abab947acbd77795e9f130967956c Mon Sep 17 00:00:00 2001 |
| 2 | From: Darren Tucker <dtucker@dtucker.net> |
| 3 | Date: Fri, 20 Nov 2020 13:37:54 +1100 |
| 4 | Subject: [PATCH] Add new pselect6_time64 syscall on ARM. |
| 5 | |
| 6 | This is apparently needed on armhfp/armv7hl. bz#3232, patch from |
| 7 | jjelen at redhat.com. |
| 8 | --- |
| 9 | sandbox-seccomp-filter.c | 3 +++ |
| 10 | 1 file changed, 3 insertions(+) |
| 11 | |
| 12 | Upstream-Status: Backport |
| 13 | [fixes issues on 32bit IA and probably other 32 bit platforms too with glibc 2.33] |
| 14 | |
| 15 | diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c |
| 16 | index e0768c063..5065ae7ef 100644 |
| 17 | --- a/sandbox-seccomp-filter.c |
| 18 | +++ b/sandbox-seccomp-filter.c |
| 19 | @@ -267,6 +267,9 @@ static const struct sock_filter preauth_insns[] = { |
| 20 | #ifdef __NR_pselect6 |
| 21 | SC_ALLOW(__NR_pselect6), |
| 22 | #endif |
| 23 | +#ifdef __NR_pselect6_time64 |
| 24 | + SC_ALLOW(__NR_pselect6_time64), |
| 25 | +#endif |
| 26 | #ifdef __NR_read |
| 27 | SC_ALLOW(__NR_read), |
| 28 | #endif |