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>
This commit is contained in:
parent
6e9ecf5741
commit
1a66806c18
2 changed files with 2 additions and 2 deletions
2
tcp.c
2
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)
|
||||
{
|
||||
|
|
2
udp.c
2
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)
|
||||
|
|
Loading…
Reference in a new issue