Hi! On Thu, 2021-03-11 at 10:45 +0800, chensong wrote: > This patch serial is aimed to introduce a new syscall clock_settime64, > which is specific for 64-bit time_t. > > There is no impact to current implemetation of clock_settime, nothing > broken. > > chensong (4): > include: wrappers: introduce old_timespec32 and __kernel_timespec
This patch is not necessary. We don't care about the 4.4 kernel (the only one which does not provide this data types) as it has no y2038 syscalls at all. > [y2038]cobalt: posix: clock: Adding clock_settime64 > [y2038]cobalt: posix: syscall32: Adding compat clock_settime64 This two patches should be squashed. No need to separate the compat syscall. Some inline comments will follow > [y2038] lib: cobalt: clock: dispatch clock_settime Will comment on this patch separately. > > include/cobalt/uapi/syscall.h | 1 + > kernel/cobalt/include/asm-generic/xenomai/wrappers.h | 17 +++++++++++++++++ > kernel/cobalt/posix/clock.c | 12 ++++++++++++ > kernel/cobalt/posix/clock.h | 4 ++++ > kernel/cobalt/posix/syscall32.c | 13 +++++++++++++ > kernel/cobalt/posix/syscall32.h | 4 ++++ > lib/cobalt/clock.c | 6 ++++++ > 7 files changed, 57 insertions(+) >
