[Devel] [PATCH RH7 0/4] vz7: fix child-reaper reparenting
Pavel Tikhomirov
ptikhomirov at virtuozzo.com
Wed Jun 15 17:54:17 MSK 2022
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(-)
--
2.35.3
More information about the Devel
mailing list