> While a VE is pseudosuper, any task in it may write the read-only files > of the container's root cgroup and sees the hidden cgroup roots. That > includes the container's own binaries that vzctl and CRIU run during > start or restore. quotaon at start can rewrite the root memory.max, and > any of them can write 0 to ve.pseudosuper, which ends the window early > and makes CRIU's restoring tasks reachable again. > > Use ve_current_is_pseudosuper() for both, so only setup tasks get them. > > Feature: ve: CRIU support > https://virtuozzo.atlassian.net/browse/VSTOR-151265 > Signed-off-by: Mirian Shilakadze <[email protected]>
Sashiko has reviewed this patch and found no issues. -- Sashiko AI review ยท https://sashiko.vzint.dev/#/patchset/[email protected]?part=4 _______________________________________________ Devel mailing list [email protected] https://lists.openvz.org/mailman/listinfo/devel
