mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
![]() https://launchpad.net/bugs/1674245 arm64 build of the tests breaks because getdents is not available. Where available, use gendents64 as the preferred choice. Fixes: cc -g -O0 -Wall -Wstrict-prototypes readdir.c -lapparmor -o readdir readdir.c: In function ‘main’: readdir.c:45:14: error: ‘SYS_getdents’ undeclared (first use in this function) if (syscall(SYS_getdents, fd, &dir, sizeof(struct dirent)) == -1){ ^~~~~~~~~~~~ readdir.c:45:14: note: each undeclared identifier is reported only once for each function it appears in <builtin>: recipe for target 'readdir' failed make: *** [readdir] Error 1 Signed-off-by: Tyler Hicks <tyhicks@canonical.com> |
||
---|---|---|
.. | ||
regression | ||
stress | ||
Makefile |