JFYI: all those patches already exist in vz9 kernel.

--
Best regards,

Konstantin Khorenko,
Virtuozzo Linux Kernel Team

On 15.06.2022 17:54, Pavel Tikhomirov wrote:
Forth patch is needed as kernel can reparent process to a dead thread
which is wrong.

Third patch is needed as kernel could reparent process from father from
one pidns to process from different pidns, which creates configurations
not supported by CRIU. Found it when reproducing problem from CRIU
mainstream issue in VZ7 ct.

https://github.com/checkpoint-restore/criu/issues/1914

First and Second are just to make it apply cleaner.

Oleg Nesterov (4):
   exit: reparent: fix the cross-namespace PR_SET_CHILD_SUBREAPER
     reparenting
   exit: reparent: document the ->has_child_subreaper checks
   exit: fix the setns() && PR_SET_CHILD_SUBREAPER interaction
   exit: reparent: fix the dead-parent PR_SET_CHILD_SUBREAPER reparenting

  kernel/exit.c | 23 +++++++++++++----------
  1 file changed, 13 insertions(+), 10 deletions(-)

_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to