blob: 34c8985c19d28dd419a89af1c4d1c81f3e424fdf [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001Certain syscall's are not availabe for arm-eabi, so we eliminate
2reference to them.
3
4Upstream-Status: Pending
5
6Signed-off-by: Joe Slater <jslater@windriver.com>
7
8--- a/tests/seccomp.c
9+++ b/tests/seccomp.c
Andrew Geissler706d5aa2021-02-12 15:55:30 -060010@@ -49,7 +49,9 @@ int disable_system_calls(void)
11 }
Brad Bishop6e60e8b2018-02-01 10:27:11 -050012
13 ADD_SYSCALL(nanosleep, 0);
Brad Bishop6e60e8b2018-02-01 10:27:11 -050014+#if ! defined(__ARM_EABI__)
15 ADD_SYSCALL(time, 0);
16+#endif
17 ADD_SYSCALL(getpid, 0);
18 ADD_SYSCALL(gettimeofday, 0);
19 #if defined(HAVE_CLOCK_GETTIME)