aboutgitcodebugslistschat
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2024-08-20 00:46:06 +0200
committerStefano Brivio <sbrivio@redhat.com>2024-08-21 12:04:17 +0200
commit1a66806c18b7814a6c270533b68221acc2cbd23f (patch)
treeb8290d19405093ae10ece437b7ebcc5437e0e71c
parent6e9ecf57410bd27cc48785125767f65e0455c76a (diff)
downloadpasst-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.c2
-rw-r--r--udp.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tcp.c b/tcp.c
index 29cda60..77c62f0 100644
--- a/tcp.c
+++ b/tcp.c
@@ -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)
{
diff --git a/udp.c b/udp.c
index 40107ce..8a93aad 100644
--- a/udp.c
+++ b/udp.c
@@ -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)