aboutgitcodebugslistschat
path: root/util.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 /util.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 'util.c')
-rw-r--r--util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/util.c b/util.c
index e9fca3b..90b5ab8 100644
--- a/util.c
+++ b/util.c
@@ -441,7 +441,8 @@ char *line_read(char *buf, size_t len, int fd)
* @map: Bitmap where numbers of ports in listening state will be set
* @exclude: Bitmap of ports to exclude from setting (and clear)
*
- * #syscalls:pasta lseek ppc64le:_llseek ppc64:_llseek
+ * #syscalls:pasta lseek
+ * #syscalls:pasta ppc64le:_llseek ppc64:_llseek armv6l:_llseek armv7l:_llseek
*/
void procfs_scan_listen(struct ctx *c, uint8_t proto, int ip_version, int ns,
uint8_t *map, uint8_t *exclude)