Commits
Pavel Emelianov authored and Alexey Dobriyan committed c5daa276da6
Zap entered into VE tasks before resetting ns reaper. Tasks that appear in VE with vzctl enter/exec do not belong to the namespace's process tree and thus init won't wait them in zap_ns_processes. This may cause a race that these tasks will die after resetting the reaper and the reparenting will oops. So kill them after the regular killer and besides kill the lost tasks. More correctly it should check for tasks that had to but were not killed by zap_ns_processes and report about them to fix the zap_ns_processes.