On Thu, 2021-08-12 at 15:02 +0800, [email protected] wrote: > > 在 2021/8/11 下午9:36, Florian Bezdeka 写道: > > Hi! > > > > Just another y2038 related syscall, once again based on v1 sent out by > > Song and rebased to current next with some code- and test-cleanups applied. > > > > @Song: > > This one was the last one in my inbox. Please make sure that all > > following patches are based on next. IIRC there are 3 or 4 syscalls > > remaining. We should take care of [1] as well. We need something in the CI > > that tests the full implementation, i.e. including the glibc wrappers > > (proper > > syscall delegation). Recent glibc should allow us to use 64bit time_t. > > hi Florian, > > There are left in implementation: > > 1, cobalt_thread_setschedparam_ex > 2, cobalt_thread_getschedparam_ex > > those 2 are a little bit tricky, i'm working on it. > > 3, recvmmsg (waiting to submit) but will double check to keep aligned > with your modification. > > 4, cond_wait_prologue (haven't started yet) > > I will submit patches about them and please feel free to reject if you > think something wrong.
There is one more missing: 5, select I will update the wiki page soon [2]. Select was already listed, but not yet implemented. Taking select already into account we now have 12/17 syscalls implemented, that is around 70%. Best regards, Florian [2] https://gitlab.com/Xenomai/xenomai-hacker-space/-/wikis/y2038/Y2038_Affected_Syscalls > > BR > > Song > > > > > [1]: > > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitlab.com%2FXenomai%2Fxenomai-hacker-space%2F-%2Fissues%2F21&data=04%7C01%7Cflorian.bezdeka%40siemens.com%7C70c719a95f234ad8f47408d95d5f4445%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637643486028192120%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=fOJ0rh38UBzM1NBN1FLBjudikKR7OQlWv0jpLL2vtuU%3D&reserved=0 > > > > Best regards, > > Florian > > > > Florian Bezdeka (1): > > y2038: testsuite/smokey/y2038: Adding tests for event_wait64 > > > > Song Chen (2): > > y2038: cobalt/posix/event: Adding event_wait64 > > y2038: lib/cobalt/internal: dispatch event_wait > > > > include/cobalt/uapi/syscall.h | 1 + > > kernel/cobalt/posix/event.c | 34 ++++++++++- > > kernel/cobalt/posix/event.h | 12 ++++ > > kernel/cobalt/posix/syscall32.c | 9 +++ > > kernel/cobalt/posix/syscall32.h | 7 +++ > > kernel/cobalt/trace/cobalt-posix.h | 3 +- > > lib/cobalt/internal.c | 5 ++ > > testsuite/smokey/y2038/syscall-tests.c | 78 +++++++++++++++++++++++--- > > 8 files changed, 136 insertions(+), 13 deletions(-) > >
