aboutgitcodebugslistschat
path: root/pasta.c
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2024-04-11 17:34:04 +0200
committerStefano Brivio <sbrivio@redhat.com>2024-04-11 17:34:04 +0200
commit5d5208b67d4e4dfb4098495620591c73ac3de50d (patch)
tree06d39eeffcd277896833656601fe381970e9b188 /pasta.c
parent954589b64ba55e0d85be39dc8d7b1260f0ea6f1a (diff)
downloadpasst-5d5208b67d4e4dfb4098495620591c73ac3de50d.tar
passt-5d5208b67d4e4dfb4098495620591c73ac3de50d.tar.gz
passt-5d5208b67d4e4dfb4098495620591c73ac3de50d.tar.bz2
passt-5d5208b67d4e4dfb4098495620591c73ac3de50d.tar.lz
passt-5d5208b67d4e4dfb4098495620591c73ac3de50d.tar.xz
passt-5d5208b67d4e4dfb4098495620591c73ac3de50d.tar.zst
passt-5d5208b67d4e4dfb4098495620591c73ac3de50d.zip
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 <sbrivio@redhat.com>
Diffstat (limited to 'pasta.c')
-rw-r--r--pasta.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pasta.c b/pasta.c
index 61feaa9..e73b5af 100644
--- a/pasta.c
+++ b/pasta.c
@@ -12,8 +12,8 @@
* Author: Stefano Brivio <sbrivio@redhat.com>
*
* #syscalls:pasta clone waitid exit exit_group rt_sigprocmask
- * #syscalls:pasta rt_sigreturn|sigreturn armv6l:sigreturn armv7l:sigreturn
- * #syscalls:pasta ppc64:sigreturn s390x:sigreturn
+ * #syscalls:pasta rt_sigreturn|sigreturn
+ * #syscalls:pasta arm:sigreturn ppc64:sigreturn s390x:sigreturn
*/
#include <sched.h>