aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorCyril Hrubis <[email protected]>2020-03-03 16:06:38 +0100
committerThomas Gleixner <[email protected]>2020-03-03 19:34:32 +0100
commitecc421e05bab97cf3ff4fe456ade47ef84dba8c2 (patch)
treeb9cca4d12255887d20b098cddafe3d2b7f93bfb6 /lib
parent98d54f81e36ba3bf92172791eba5ca5bd813989b (diff)
sys/sysinfo: Respect boottime inside time namespace
The sysinfo() syscall includes uptime in seconds but has no correction for time namespaces which makes it inconsistent with the /proc/uptime inside of a time namespace. Add the missing time namespace adjustment call. Signed-off-by: Cyril Hrubis <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Dmitry Safonov <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions