From: Francis Deslauriers Date: Tue, 27 Feb 2018 20:32:00 +0000 (-0500) Subject: Tests: Fix: arm64 use sys_openat instead of sys_open X-Git-Tag: v2.11.0-rc1~380 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=8192bd8fb712659b9204549f29d9a54dc2c57a9e;hp=8192bd8fb712659b9204549f29d9a54dc2c57a9e;p=lttng-tools.git Tests: Fix: arm64 use sys_openat instead of sys_open gen-syscall-events is failing to build on arm64 because of the following error: ``` gen-syscall-events.c: In function ‘main’: gen-syscall-events.c:35:15: error: ‘SYS_open’ undeclared (first use in this function) fd = syscall(SYS_open, "/proc/cpuinfo", O_RDONLY); ``` SYS_open is not available using the syscall(2) arm64 glibc function. SYS_openat should be used instead. Change test app and test cases to use SYS_openat. Other projects have encountered the same issue: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758521 https://bugs.launchpad.net/linaro-aarch64/+bug/1100782 Signed-off-by: Francis Deslauriers ---