fs/proc: Respect boottime inside time namespace for /proc/uptime
authorDmitry Safonov <dima@arista.com>
Tue, 12 Nov 2019 01:27:07 +0000 (01:27 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 14 Jan 2020 11:20:56 +0000 (12:20 +0100)
commit0efc8bb0bb5fdfd529a23073ee15478b5d5e3839
treeda937756dafd0e1c13aa37a9ebc883cdfd295e55
parent1f9b37bfbb607a09d838c248843e63a2cafe1080
fs/proc: Respect boottime inside time namespace for /proc/uptime

Make sure that /proc/uptime is adjusted to the tasks time namespace.

Co-developed-by: Andrei Vagin <avagin@openvz.org>
Signed-off-by: Andrei Vagin <avagin@openvz.org>
Signed-off-by: Dmitry Safonov <dima@arista.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20191112012724.250792-19-dima@arista.com
fs/proc/uptime.c