diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2024-04-11 17:34:04 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-04-11 17:34:04 +0200 |
commit | 5d5208b67d4e4dfb4098495620591c73ac3de50d (patch) | |
tree | 06d39eeffcd277896833656601fe381970e9b188 /passt.c | |
parent | 954589b64ba55e0d85be39dc8d7b1260f0ea6f1a (diff) | |
download | passt-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 'passt.c')
-rw-r--r-- | passt.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -192,10 +192,9 @@ void exit_handler(int signal) * #syscalls read write writev * #syscalls socket bind connect getsockopt setsockopt s390x:socketcall close * #syscalls recvfrom sendto shutdown - * #syscalls armv6l:recv armv7l:recv ppc64le:recv - * #syscalls armv6l:send armv7l:send ppc64le:send + * #syscalls arm:recv ppc64le:recv arm:send ppc64le:send * #syscalls accept4|accept listen epoll_ctl epoll_wait|epoll_pwait epoll_pwait - * #syscalls clock_gettime armv6l:clock_gettime64 armv7l:clock_gettime64 + * #syscalls clock_gettime arm:clock_gettime64 */ int main(int argc, char **argv) { |