Skip to content

time: Add y2038 safe struct __kernel_itimerspec

Deepa Dinamani linux-api linux-fsdevel lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3time: Introduce struct __kernel_itimerspecinclude/linux/time.h include/linux/time64.h include/uapi/linux/time.h +1 more+12 -40 replies
2/3time: Enable get/put_compat_itimerspec64 alwaysinclude/linux/compat.h include/linux/compat_time.h kernel/compat.c +1 more+30 -380 replies
3/3time: Change types to new y2038 safe __kernel_itimerspecfs/timerfd.c include/linux/syscalls.h kernel/time/posix-timers.c+16 -140 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] time: Add y2038 safe struct __kernel_itimerspec

The series aims at adding a new y2038-safe struct __kernel_itimerspec. This is intended to replace the struct itimerspec at ABI level.

The series is a continuation of efforts to convert all syscalls with time_t or time_t-derived structures to be y2038-safe.

Arnd, maybe this series can go along with the rest of syscalls that you have in your y2038 tree?

Deepa Dinamani (3):
time: Introduce struct __kernel_itimerspec
time: Enable get/put_compat_itimerspec64 always
time: Change types to new y2038 safe __kernel_itimerspec

 fs/timerfd.c                |  8 ++++----
 include/linux/compat.h      |  9 ---------
 include/linux/compat_time.h |  9 +++++++++
 include/linux/syscalls.h    | 10 +++++-----
 include/linux/time.h        |  4 ++--
 include/linux/time64.h      |  1 +
 include/uapi/linux/time.h   |  7 +++++++
 kernel/compat.c             | 29 -----------------------------
 kernel/time/posix-timers.c  | 12 +++++++-----
 kernel/time/time.c          | 25 +++++++++++++++++++++++--
 10 files changed, 58 insertions(+), 56 deletions(-)

base-commit: 4b373f94fee5acf2ff4c1efbb3f702060379df1f

Signature · 6 lines
2.17.1

_______________________________________________
Y2038 mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/y2038