diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2022-02-26 23:39:19 +0100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-02-26 23:39:19 +0100 |
commit | 6d661dc5b291358f844afb6910ebef93d6c92a95 (patch) | |
tree | ed321ec2cbc83f149f50a8b2922d3b6ba2123346 /pasta.c | |
parent | a095fbc45738d3992d5211e2991ebf9d2a8fb0c0 (diff) | |
download | passt-6d661dc5b291358f844afb6910ebef93d6c92a95.tar passt-6d661dc5b291358f844afb6910ebef93d6c92a95.tar.gz passt-6d661dc5b291358f844afb6910ebef93d6c92a95.tar.bz2 passt-6d661dc5b291358f844afb6910ebef93d6c92a95.tar.lz passt-6d661dc5b291358f844afb6910ebef93d6c92a95.tar.xz passt-6d661dc5b291358f844afb6910ebef93d6c92a95.tar.zst passt-6d661dc5b291358f844afb6910ebef93d6c92a95.zip |
seccomp: Adjust list of allowed syscalls for armv6l, armv7l
It looks like glibc commonly implements clock_gettime(2) with
clock_gettime64(), and uses recv() instead of recvfrom(), send()
instead of sendto(), and sigreturn() instead of rt_sigreturn() on
armv6l and armv7l.
Adjust the list of system calls for armv6l and armv7l accordingly.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'pasta.c')
-rw-r--r-- | pasta.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -12,7 +12,8 @@ * Author: Stefano Brivio <sbrivio@redhat.com> * * #syscalls:pasta clone waitid exit exit_group rt_sigprocmask - * #syscalls:pasta rt_sigreturn|sigreturn ppc64:sigreturn s390x:sigreturn + * #syscalls:pasta rt_sigreturn|sigreturn armv6l:sigreturn armv7l:sigreturn + * #syscalls:pasta ppc64:sigreturn s390x:sigreturn */ #include <sched.h> |