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