diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2024-08-20 00:46:06 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-08-21 12:04:17 +0200 |
commit | 1a66806c18b7814a6c270533b68221acc2cbd23f (patch) | |
tree | b8290d19405093ae10ece437b7ebcc5437e0e71c | |
parent | 6e9ecf57410bd27cc48785125767f65e0455c76a (diff) | |
download | passt-1a66806c18b7814a6c270533b68221acc2cbd23f.tar passt-1a66806c18b7814a6c270533b68221acc2cbd23f.tar.gz passt-1a66806c18b7814a6c270533b68221acc2cbd23f.tar.bz2 passt-1a66806c18b7814a6c270533b68221acc2cbd23f.tar.lz passt-1a66806c18b7814a6c270533b68221acc2cbd23f.tar.xz passt-1a66806c18b7814a6c270533b68221acc2cbd23f.tar.zst passt-1a66806c18b7814a6c270533b68221acc2cbd23f.zip |
tcp, udp: Allow timerfd_gettime64() and recvmmsg_time64() on arm (armhf)
These system calls are needed after the conversion of time_t to 64-bit
types on 32-bit architectures.
Tested by running some transfer tests with passt and pasta on Debian
Bookworm (glibc 2.36) and Trixie (glibc 2.39), running on armv6l.
Suggested-by: Faidon Liambotis <paravoid@debian.org>
Link: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078981
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
-rw-r--r-- | tcp.c | 2 | ||||
-rw-r--r-- | udp.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -2144,7 +2144,7 @@ cancel: * @c: Execution context * @ref: epoll reference of timer (not connection) * - * #syscalls timerfd_gettime i686:timerfd_gettime64 + * #syscalls timerfd_gettime arm:timerfd_gettime64 i686:timerfd_gettime64 */ void tcp_timer_handler(struct ctx *c, union epoll_ref ref) { @@ -460,7 +460,7 @@ static bool udp_sock_recverr(int s) * @events: epoll events bitmap * @mmh mmsghdr array to receive into * - * #syscalls recvmmsg i686:recvmmsg_time64 + * #syscalls recvmmsg arm:recvmmsg_time64 i686:recvmmsg_time64 */ static int udp_sock_recv(const struct ctx *c, int s, uint32_t events, struct mmsghdr *mmh) |