commit | ecc421e05bab97cf3ff4fe456ade47ef84dba8c2 | [log] [tgz] |
---|---|---|
author | Cyril Hrubis <chrubis@suse.cz> | Tue Mar 03 16:06:38 2020 +0100 |
committer | Thomas Gleixner <tglx@linutronix.de> | Tue Mar 03 19:34:32 2020 +0100 |
tree | b9cca4d12255887d20b098cddafe3d2b7f93bfb6 | |
parent | 98d54f81e36ba3bf92172791eba5ca5bd813989b [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 <chrubis@suse.cz> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Dmitry Safonov <dima@arista.com> Link: https://lkml.kernel.org/r/20200303150638.7329-1-chrubis@suse.cz