aboutgitcodebugslistschat
path: root/passt.c
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-02-26 23:39:19 +0100
committerStefano Brivio <sbrivio@redhat.com>2022-02-26 23:39:19 +0100
commit6d661dc5b291358f844afb6910ebef93d6c92a95 (patch)
treeed321ec2cbc83f149f50a8b2922d3b6ba2123346 /passt.c
parenta095fbc45738d3992d5211e2991ebf9d2a8fb0c0 (diff)
downloadpasst-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 'passt.c')
-rw-r--r--passt.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/passt.c b/passt.c
index 22934a2..e7dd108 100644
--- a/passt.c
+++ b/passt.c
@@ -297,9 +297,11 @@ void exit_handler(int signal)
*
* #syscalls read write writev
* #syscalls socket bind connect getsockopt setsockopt s390x:socketcall close
- * #syscalls recvfrom sendto shutdown ppc64le:recv ppc64le:send
- * #syscalls accept4|accept listen
- * #syscalls epoll_ctl epoll_wait|epoll_pwait epoll_pwait clock_gettime
+ * #syscalls recvfrom sendto shutdown
+ * #syscalls armv6l:recv armv7l:recv ppc64le:recv
+ * #syscalls armv6l:send armv7l:send ppc64le:send
+ * #syscalls accept4|accept listen epoll_ctl epoll_wait|epoll_pwait epoll_pwait
+ * #syscalls clock_gettime armv6l:clock_gettime64 armv7l:clock_gettime64
*/
int main(int argc, char **argv)
{