]> Git Repo - linux.git/commit
time: Introduce do_sys_settimeofday64()
authorBaolin Wang <[email protected]>
Fri, 8 Apr 2016 06:02:12 +0000 (14:02 +0800)
committerJohn Stultz <[email protected]>
Fri, 22 Apr 2016 18:49:04 +0000 (11:49 -0700)
commit86d3473224b004f920c107206d181d37db735145
tree3c3f646ec0d3947a9b3784b1b1d42bc167e9893c
parent457db29bfcfd1d9cc717587c446a89d60499d4a9
time: Introduce do_sys_settimeofday64()

The do_sys_settimeofday() function uses a timespec, which is not year
2038 safe on 32bit systems.

Thus this patch introduces do_sys_settimeofday64(), which allows us to
transition users of do_sys_settimeofday() to using 64bit time types.

Cc: Prarit Bhargava <[email protected]>
Cc: Richard Cochran <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Signed-off-by: Baolin Wang <[email protected]>
[jstultz: Include errno-base.h to avoid build issue on some arches]
Signed-off-by: John Stultz <[email protected]>
include/linux/timekeeping.h
kernel/time/time.c
This page took 0.059717 seconds and 4 git commands to generate.