OpenVZ / Virtuozzo kernel development (devel@openvz.org)
 help / color / mirror / Atom feed
From: Konstantin Khorenko <khorenko@virtuozzo.com>
To: ptikhomirov@virtuozzo.com,
	Mirian Shilakadze <mirian.shilakadze@virtuozzo.com>
Cc: devel@openvz.org
Subject: Re: [Devel] [PATCH hci-8.2 v3 0/6] ve: give the pseudosuper privileges only to the tasks setting up a VE
Date: Wed, 18 Nov 2026 16:14:39 +0100	[thread overview]
Message-ID: <179501487975.1085329.12778316095533965126.b4-ty@b4> (raw)
In-Reply-To: <20261118103656.363171-1-mirian.shilakadze@virtuozzo.com>

On Wed, 18 Nov 2026 14:36:32 +0400, Mirian Shilakadze 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.
> 
> [...]

Applied to branch-rh10-6.12.0-211.75.1.26.x.vz10-ovz, will be released in rh10-6.12.0-211.75.1.26.3.vz10, thanks!

[1/6] ve: tell ve_setup_task() which VE the task comes from
      https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/75d56c3b36ed
[2/6] ve: hide only the tasks the host sends into a VE
      https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/09024a13fdc5
[3/6] ve: hide the tasks that set up a starting VE from the rest of it
      https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/a7d797d177e7
[4/6] cgroup: give the CT root file writes and hidden roots only to setup tasks
      https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/bd6d7bf907de
[5/6] fs: keep the mount relaxations of a pseudosuper VE from container binaries
      https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/9f185a7ca286
[6/6] ve: give the remaining pseudosuper relaxations only to setup tasks
      https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/c2496901d252

-- 
Konstantin Khorenko,
Virtuozzo Linux Kernel Team


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

      parent reply	other threads:[~2026-11-18 15:16 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-18 10:36 Mirian Shilakadze
2026-11-18 10:36 ` [Devel] [PATCH hci-8.2 v3 1/6] ve: tell ve_setup_task() which VE the task comes from Mirian Shilakadze
2026-11-18 10:41   ` no-reply
2026-11-18 10:36 ` [Devel] [PATCH hci-8.2 v3 2/6] ve: hide only the tasks the host sends into a VE Mirian Shilakadze
2026-11-18 10:42   ` no-reply
2026-11-18 10:36 ` [Devel] [PATCH hci-8.2 v3 3/6] ve: hide the tasks that set up a starting VE from the rest of it Mirian Shilakadze
2026-11-18 10:47   ` no-reply
2026-11-18 11:32     ` Mirian Shilakadze
2026-11-18 10:36 ` [Devel] [PATCH hci-8.2 v3 4/6] cgroup: give the CT root file writes and hidden roots only to setup tasks Mirian Shilakadze
2026-11-18 10:46   ` no-reply
2026-11-18 10:36 ` [Devel] [PATCH hci-8.2 v3 5/6] fs: keep the mount relaxations of a pseudosuper VE from container binaries Mirian Shilakadze
2026-11-18 10:50   ` no-reply
2026-11-18 10:36 ` [Devel] [PATCH hci-8.2 v3 6/6] ve: give the remaining pseudosuper relaxations only to setup tasks Mirian Shilakadze
2026-11-18 10:49   ` no-reply
2026-11-18 11:54 ` [Devel] [PATCH hci-8.2 v3 0/6] ve: give the pseudosuper privileges only to the tasks setting up a VE Vasileios Almpanis
2026-11-18 15:14 ` Konstantin Khorenko
2026-11-18 15:14 ` Konstantin Khorenko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179501487975.1085329.12778316095533965126.b4-ty@b4 \
    --to=khorenko@virtuozzo.com \
    --cc=devel@openvz.org \
    --cc=mirian.shilakadze@virtuozzo.com \
    --cc=ptikhomirov@virtuozzo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox