recvmmsg for timespec64
cover recvmmsg for timespec64
This patch serial is to introdule a new sycall recvmmsg64 to support 64-bit time_t.
All the test cases have been tested and passed and resource is cleaned up before leaving.
At beginning, i tried to initialize socket like this way:
socket(AF_UNIX, SOCK_STREAM, 0);
However, it returns immediately in __rtdm_fd_recvmmsg, couldn't get valid value from rtdm_fd_get.
I'm not familiar with this part, i guess it's supported in GPOS instead of xenomai, then i turned to IPCPROTO_XDDP, it works. Any suggestion about this part is welcomed.
Song Chen (3):
y2038: cobalt/posix/io: Adding recvmmsg64
y2038: lib/cobalt/rtdm: dispatch recvmmg
y2038: testsuite/smokey/y2038: testcase for recvmmsg64
include/cobalt/uapi/syscall.h | 1 + kernel/cobalt/posix/io.c | 15 ++++ kernel/cobalt/posix/io.h | 5 ++ kernel/cobalt/posix/syscall32.c | 16 ++++ kernel/cobalt/posix/syscall32.h | 6 ++ kernel/cobalt/rtdm/fd.c | 2 +- lib/cobalt/rtdm.c | 5 ++ testsuite/smokey/y2038/syscall-tests.c | 135 +++++++++++++++++++++++++++++++++ 8 files changed, 184 insertions(+), 1 deletion(-)
Signature · 1 line
2.7.4