Andrew Geissler | 6aa7eec | 2023-03-03 12:41:14 -0600 | [diff] [blame^] | 1 | From 911213d9f72ddce468322d22d223127b93964409 Mon Sep 17 00:00:00 2001 |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 2 | From: Joe Slater <jslater@windriver.com> |
| 3 | Date: Wed, 25 Jan 2017 13:52:59 -0800 |
| 4 | Subject: [PATCH] gnutls: account for ARM_EABI |
| 5 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 6 | Certain syscall's are not availabe for arm-eabi, so we eliminate |
| 7 | reference to them. |
| 8 | |
| 9 | Upstream-Status: Pending |
| 10 | |
| 11 | Signed-off-by: Joe Slater <jslater@windriver.com> |
| 12 | |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 13 | --- |
| 14 | tests/seccomp.c | 2 ++ |
| 15 | 1 file changed, 2 insertions(+) |
| 16 | |
| 17 | diff --git a/tests/seccomp.c b/tests/seccomp.c |
Andrew Geissler | 6aa7eec | 2023-03-03 12:41:14 -0600 | [diff] [blame^] | 18 | index a3148fe..443bc5f 100644 |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 19 | --- a/tests/seccomp.c |
| 20 | +++ b/tests/seccomp.c |
Andrew Geissler | 6aa7eec | 2023-03-03 12:41:14 -0600 | [diff] [blame^] | 21 | @@ -52,7 +52,9 @@ int disable_system_calls(void) |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 22 | |
| 23 | ADD_SYSCALL(nanosleep, 0); |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 24 | ADD_SYSCALL(clock_nanosleep, 0); |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 25 | +#if ! defined(__ARM_EABI__) |
| 26 | ADD_SYSCALL(time, 0); |
| 27 | +#endif |
| 28 | ADD_SYSCALL(getpid, 0); |
| 29 | ADD_SYSCALL(gettimeofday, 0); |
Andrew Geissler | 6aa7eec | 2023-03-03 12:41:14 -0600 | [diff] [blame^] | 30 | # if defined(HAVE_CLOCK_GETTIME) |