[PATCH] filter_seccomp: fix build for no-MMU targets

Paul Chaignon paul.chaignon at gmail.com
Fri Oct 4 09:45:11 UTC 2019


On Fri, Oct 04, 2019 at 10:06:04AM +0300, Baruch Siach wrote:
> Detect and define NOMMU_SYSTEM correctly to avoid unsupported fork()
> call on no-MMU Linux systems.
>
> Fix strace binary link failure:
>
> .../arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: strace-filter_seccomp.o: in function `check_seccomp_filter':
> filter_seccomp.c:(.text+0x39a): undefined reference to `fork'
> collect2: error: ld returned 1 exit status

Sorry for the build failure and thanks for the fix!
Acked-by: Paul Chaignon <paul.chaignon at gmail.com>

Paul


More information about the Strace-devel mailing list