jail: use pidns semantics also for timens
authorDaniel Golle <daniel@makrotopia.org>
Sun, 2 Aug 2020 18:25:29 +0000 (19:25 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 6 Aug 2020 14:18:34 +0000 (15:18 +0100)
commitead60fe1022358eeda0bdb4fe8b1775b2b22799b
tree0e4894a6bb0513e4c37676920b160a4283feb6c8
parentafbaba926d242c3e060ee53d5f53b4473ac1957a
jail: use pidns semantics also for timens

Just like pidns, timens is also only applied to children forked after
the setns() call, so use the same semantics here as well when joining
an existing time namespace.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
jail/jail.c