Re: [PATCH v4 2/3] fs/proc: apply the time namespace offset to /proc/stat btime

From: Thomas Gleixner
Date: Mon Oct 26 2020 - 06:28:40 EST


On Mon, Oct 19 2020 at 21:52, Michael Weiß wrote:

> '/proc/stat' provides the field 'btime' which states the time stamp of
> system boot in seconds. In case of time namespaces, the offset to the
> boot time stamp was not applied earlier. However, in container
> runtimes which utilize time namespaces to virtualize boottime of a
> container, this leaks information about the host system boot time.

Not sure if that qualifies as a leak. The point is that it confuses the
tasks which are in a different time universe.

Thanks,

tglx