commit | fa3ef2da0da355cc23b75046b63ec2f0638d4e8b | [log] [download] |
---|---|---|
author | Andrey Vagin <avagin@openvz.org> | Wed Jul 10 08:02:03 2013 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Fri Jul 12 15:11:10 2013 -0700 |
tree | 5d493498a0e25c00a8779d4c947b9271c742bc29 | |
parent | ce7386b8c8debbdd41718b84d4aae2d5167a8505 [diff] |
ct: fix exec to really enter into pidns (v3) setns() of the pid namespace unlike unsharing of other namespaces does not take affect immediately. Instead it affects the children created with fork and clone. v2: don't forget about the end mark in close_fds v3: use nice and dandy env_wait() https://bugzilla.openvz.org/show_bug.cgi?id=2658 Reported-by: Igor Gnatenko <i.gnatenko.brain@gmail.com> Signed-off-by: Andrey Vagin <avagin@openvz.org>