Commit 5b2afb82 authored by Song Chen's avatar Song Chen Committed by Jan Kiszka
Browse files

y2038: lib/cobalt/rtdm: dispatch recvmmg

If libc reports time64_t support, recvmmsg is dispatched to the
time64_t based syscall.
Signed-off-by: default avatarSong Chen <>
Signed-off-by: default avatarFlorian Bezdeka <>
Signed-off-by: Jan Kiszka's avatarJan Kiszka <>
parent e945a68f
......@@ -272,7 +272,12 @@ COBALT_IMPL(int, recvmmsg, (int fd, struct mmsghdr *msgvec, unsigned int vlen,
pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldtype);
#ifdef __USE_TIME_BITS64
ret = XENOMAI_SYSCALL5(sc_cobalt_recvmmsg64, fd, msgvec,
vlen, flags, timeout);
ret = XENOMAI_SYSCALL5(sc_cobalt_recvmmsg, fd, msgvec, vlen, flags, timeout);
pthread_setcanceltype(oldtype, NULL);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment