]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
sys_linux: allow readv syscall in seccomp filter master
authorSören Tempel <soeren@soeren-tempel.net>
Sun, 14 Jun 2026 16:16:55 +0000 (18:16 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Mon, 22 Jun 2026 07:28:25 +0000 (09:28 +0200)
This system call is used by musl libc to implement fread(3). This
library function is used by gnutls (e.g., when compiling chrony
with NTS support). This has been discovered in Alpine Linux.

sys_linux.c

index 210428b863a6ad03c18486338f9467e35309ae54..7425591593c3b1b9b782007d94048d9818f19e44 100644 (file)
@@ -539,6 +539,7 @@ SYS_Linux_EnableSystemCallFilter(int level, SYS_ProcessContext context)
     SCMP_SYS(pselect6_time64),
 #endif
     SCMP_SYS(read),
+    SCMP_SYS(readv),
     SCMP_SYS(futex),
 #ifdef __NR_futex_time64
     SCMP_SYS(futex_time64),