diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2025-02-02 20:53:47 +0100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2025-02-03 22:43:35 +0100 |
commit | 71fa7362776bfa075d83383b600d2beeab923893 (patch) | |
tree | 38fad58add628ca4f9a4a9700872cb2fe2cd958e | |
parent | b75ad159e8a13a10ce1fb4b86503636420da126d (diff) | |
download | passt-71fa7362776bfa075d83383b600d2beeab923893.tar passt-71fa7362776bfa075d83383b600d2beeab923893.tar.gz passt-71fa7362776bfa075d83383b600d2beeab923893.tar.bz2 passt-71fa7362776bfa075d83383b600d2beeab923893.tar.lz passt-71fa7362776bfa075d83383b600d2beeab923893.tar.xz passt-71fa7362776bfa075d83383b600d2beeab923893.tar.zst passt-71fa7362776bfa075d83383b600d2beeab923893.zip |
tcp_splice, udp_flow: fcntl64() support on PPC64 depends on glibc version
I explicitly added fcntl64() to the list of allowed system calls for
PPC64 a while ago, and now it turns out it's not available in recent
Debian builds. The warning from seccomp.sh is harmless because we
unconditionally try to enable fcntl() anyway, but take care of it
anyway.
Link: https://buildd.debian.org/status/fetch.php?pkg=passt&arch=ppc64&ver=0.0%7Egit20250121.4f2c8e7-1&stamp=1737477147&raw=0
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
-rw-r--r-- | tcp_splice.c | 2 | ||||
-rw-r--r-- | udp_flow.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tcp_splice.c b/tcp_splice.c index 5db1d62..f048a82 100644 --- a/tcp_splice.c +++ b/tcp_splice.c @@ -28,7 +28,7 @@ * - FIN_SENT_0: FIN (write shutdown) sent to accepted socket * - FIN_SENT_1: FIN (write shutdown) sent to target socket * - * #syscalls:pasta pipe2|pipe fcntl arm:fcntl64 ppc64:fcntl64 i686:fcntl64 + * #syscalls:pasta pipe2|pipe fcntl arm:fcntl64 ppc64:fcntl64|fcntl i686:fcntl64 */ #include <sched.h> @@ -174,7 +174,7 @@ cancel: * @s_in: Source socket address, filled in by recvmmsg() * @now: Timestamp * - * #syscalls fcntl arm:fcntl64 ppc64:fcntl64 i686:fcntl64 + * #syscalls fcntl arm:fcntl64 ppc64:fcntl64|fcntl i686:fcntl64 * * Return: sidx for the destination side of the flow for this packet, or * FLOW_SIDX_NONE if we couldn't find or create a flow. |