Skip to content

Comment on Two Objects Not Namespaced by the Linux Kernel (2017)

Comments

You can't change time in container, but it's possible to change timezone files.

With generating fake timezones it is possible to change time in container.

This doesn't change what gettimeofday(2) gives you (and actually you can't even use ptrace easily to fake the time of day because gettimeofday(2) isn't a real syscall -- it's actually implemented as a read from the vDSO page the kernel maps into every process).

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.