[Devel] [PATCH hci-8.2 v3 0/6] ve: give the pseudosuper privileges only to the tasks setting up a VE
Vasileios Almpanis
vasileios.almpanis at virtuozzo.com
Wed Nov 18 14:54:37 MSK 2026
On Wed, 18 Nov 2026 14:36:32 +0400, Mirian Shilakadze <mirian.shilakadze at virtuozzo.com> wrote:
> ve: give the pseudosuper privileges only to the tasks setting up a VE
>
> While a container starts or is restored, ve.pseudosuper is on and its
> relaxations apply to every process in the container. The container's
> own binaries that vzctl and CRIU run in that window get them too, such
> as quotaon at start and the tee that vz-rst-action runs at post-restore.
> Such a binary can rewrite the container's root memory.max, skip the
> mount limit and the mount option filter, use NETLINK_REPAIR, or clear
> pseudosuper early. During a restore it can also open /proc/<pid>/fd of
> CRIU's restoring tasks and take CRIU's log, its /proc fd and the
> transport socket.
>
> [...]
Reviewed-by: Vasileios Almpanis <vasileios.almpanis at virtuozzo.com>
--
Vasileios Almpanis <vasileios.almpanis at virtuozzo.com>
More information about the Devel
mailing list