linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/7] Isolate time_t data types for clock/timer syscalls
@ 2017-06-24 18:24 Deepa Dinamani
  2017-06-24 18:24 ` [PATCH v2 1/7] time: add get_timespec64 and put_timespec64 Deepa Dinamani
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Deepa Dinamani @ 2017-06-24 18:24 UTC (permalink / raw)
  To: tglx, viro, linux-kernel
  Cc: john.stultz, nicolas.pitre, arnd, y2038, linux-fsdevel

The series aims at isolating data conversions of time_t based structures:
struct timespec and struct itimerspec at user space boundaries.
This helps to later change the underlying types to handle y2038 changes
to these.

The series is an update to Arnd Bergmann's previous series:
http://sourceware.org/ml/libc-alpha/2015-05/msg00070.html

Changes since v1:
* Rebased and removed common code paths on the tip linux-next.

Deepa Dinamani (7):
  time: add get_timespec64 and put_timespec64
  time: introduce {get,put}_itimerspec64
  posix-stubs: Conditionally include COMPAT_SYS_NI defines
  posix-timers: Use get_timepsec64() and put_timespec64()
  nanosleep: Use get_timepsec64() and put_timespec64()
  timerfd: Use get_itimerspec64() and put_itimerspec64()
  posix_clocks: Use get_itimerspec64() and  put_itimerspec64()

 fs/timerfd.c                   |  43 +++++++------
 include/linux/compat.h         |   6 ++
 include/linux/hrtimer.h        |   2 +-
 include/linux/posix-timers.h   |   1 -
 include/linux/time.h           |  18 ++++++
 kernel/compat.c                |  65 ++++++++++++++++++++
 kernel/time/alarmtimer.c       |   4 +-
 kernel/time/hrtimer.c          |  30 ++++------
 kernel/time/posix-cpu-timers.c |   8 +--
 kernel/time/posix-stubs.c      |  99 ++++++++++++++++--------------
 kernel/time/posix-timers.c     | 133 +++++++++++++++--------------------------
 kernel/time/time.c             |  58 ++++++++++++++++++
 12 files changed, 289 insertions(+), 178 deletions(-)

-- 
2.11.0

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-06-24 18:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-24 18:24 [PATCH v2 0/7] Isolate time_t data types for clock/timer syscalls Deepa Dinamani
2017-06-24 18:24 ` [PATCH v2 1/7] time: add get_timespec64 and put_timespec64 Deepa Dinamani
2017-06-24 18:24 ` [PATCH v2 2/7] time: introduce {get,put}_itimerspec64 Deepa Dinamani
2017-06-24 18:24 ` [PATCH v2 3/7] posix-stubs: Conditionally include COMPAT_SYS_NI defines Deepa Dinamani

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).