From 5d5208b67d4e4dfb4098495620591c73ac3de50d Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Thu, 11 Apr 2024 17:34:04 +0200 Subject: treewide: Compilers' name for armv6l and armv7l is "arm" When I switched from 'uname -m' to 'gcc -dumpmachine' to fetch the architecture name for, among others, seccomp.sh, I didn't realise that "armv6l" and "armv7l" are just Linux kernel names -- compilers just call that "arm". Fix the "syscalls" annotation we use to define seccomp profiles accordingly, otherwise pasta will be terminated on sigreturn() on armv6l and armv7l. Fixes: 213c397492bd ("passt, pasta: Run-time selection of AVX2 build") Signed-off-by: Stefano Brivio --- fwd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fwd.c') diff --git a/fwd.c b/fwd.c index a235d13..b3d5a37 100644 --- a/fwd.c +++ b/fwd.c @@ -38,7 +38,7 @@ * @exclude: Bitmap of ports to exclude from setting (and clear) * * #syscalls:pasta lseek - * #syscalls:pasta ppc64le:_llseek ppc64:_llseek armv6l:_llseek armv7l:_llseek + * #syscalls:pasta ppc64le:_llseek ppc64:_llseek arm:_llseek */ static void procfs_scan_listen(int fd, unsigned int lstate, uint8_t *map, const uint8_t *exclude) -- cgit v1.2.3