summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gnutls/gnutls/arm_eabi.patch
blob: 34c8985c19d28dd419a89af1c4d1c81f3e424fdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Certain syscall's are not availabe for arm-eabi, so we eliminate
reference to them.

Upstream-Status: Pending

Signed-off-by: Joe Slater <jslater@windriver.com>

--- a/tests/seccomp.c
+++ b/tests/seccomp.c
@@ -49,7 +49,9 @@ int disable_system_calls(void)
 	}
 
 	ADD_SYSCALL(nanosleep, 0);
+#if ! defined(__ARM_EABI__)
 	ADD_SYSCALL(time, 0);
+#endif
 	ADD_SYSCALL(getpid, 0);
 	ADD_SYSCALL(gettimeofday, 0);
 #if defined(HAVE_CLOCK_GETTIME)