I won't apply this version, please send v3 with the changes below.

On Tue, 17 Nov 2026 14:13:23 +0400, Mirian Shilakadze wrote:
> +     if (task->mm && old_ve != ve &&
> +         (ve_is_super(old_ve) ||
> +          ve_vps_dumpable(task->mm, old_ve) == VD_VE_SETUP_TASK))

Item 1 of the cover letter reply: a setup task that leaves its VE after
the VE cleared pseudosuper is not marked here.

Why: ve_vps_dumpable() reports VD_VE_SETUP_TASK only while old_ve is
pseudosuper. A host task that entered A while it started, stayed there
without exec past the clear and then setns()es into running B keeps a
mark that reads as VD_PTRACE_COREDUMP in B, so B's root can open its
/proc/<pid>/fd. Stock gave it VD_VE_ENTER_TASK.

Item 3 of the cover letter reply: split the five-sentence paragraph of
the message, and fix "ve0 never leaves it" in the kernel-doc.

-- 
Konstantin Khorenko,
Virtuozzo Linux Kernel Team

_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to