From: no-reply@sashiko.virtuozzo.com
To: Konstantin Khorenko <khorenko@virtuozzo.com>,
Mirian Shilakadze <mirian.shilakadze@virtuozzo.com>,
Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Cc: devel@openvz.org
Subject: Re: [Devel] [PATCH hci-8.2 v5 2/3] ve: give the pseudosuper relaxations of ve0 to its own tasks only
Date: Tue, 1 Dec 2026 00:55:25 +0000 [thread overview]
Message-ID: <010701a22f196f07-f1693a5d-c506-4a2e-8ede-c4a33e11601f-000000@eu-central-1.amazonses.com> (raw)
In-Reply-To: <20261127-b4-prep-khorenko-vstor-156164-ve-setup-task-pseudosuper-v5-2-32c4b6342ec2@virtuozzo.com>
> ve_current_is_pseudosuper() answers yes whenever the VE it is asked
> about is ve0, whoever asks. The line keeps the behaviour of ve0 being
> statically pseudosuper, but it reads as a grant to any task: a
> container task would get the relaxations of the host from a caller
> that passes it ve0.
>
> Grant nothing to a task outside the VE asked about, and in ve0 grant
> to every task of it. The relaxations of a VE belong to the tasks the
> host sent into it, and for ve0 those are its own tasks, no mark
> involved.
>
> No caller but one sees a different answer:
>
> - devcgroup_legacy_check_permission(), netlink_setsockopt() for
> NETLINK_REPAIR, cgroup_file_write(), ve_hide_cgroups(),
> [ ... ]
> Feature: trace: prohibit tracing sensitive tasks from CT
> Suggested-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
> Reviewed-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
> Reviewed-by: Mirian Shilakadze <mirian.shilakadze@virtuozzo.com>
> Signed-off-by: Konstantin Khorenko <khorenko@virtuozzo.com>
Sashiko has reviewed this patch and found no issues.
Carry the trailer below into the next revision and Sashiko will not review this patch again.
Reviewed-by: Sashiko <no-reply@sashiko.virtuozzo.com>
--
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261127-b4-prep-khorenko-vstor-156164-ve-setup-task-pseudosuper-v5-0-32c4b6342ec2@virtuozzo.com?part=2
_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel
next prev parent reply other threads:[~2026-12-01 0:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-27 17:39 [Devel] [PATCH hci-8.2 v5 0/3] ve: Container start on the 26.3 kernel with libvzctl before 10.0.144 Konstantin Khorenko
2026-11-27 17:39 ` [Devel] [PATCH hci-8.2 v5 1/3] ve: trust every host task of a pseudosuper VE until it execs Konstantin Khorenko
2026-12-01 0:52 ` no-reply
2026-11-27 17:39 ` [Devel] [PATCH hci-8.2 v5 2/3] ve: give the pseudosuper relaxations of ve0 to its own tasks only Konstantin Khorenko
2026-12-01 0:55 ` no-reply [this message]
2026-11-27 17:39 ` [Devel] [PATCH hci-8.2 v5 3/3] selftests/ve: check a host task entering a pseudosuper VE reaches its init Konstantin Khorenko
2026-12-01 1:02 ` no-reply
2026-11-27 17:43 ` [Devel] [PATCH hci-8.2 v5 0/3] ve: Container start on the 26.3 kernel with libvzctl before 10.0.144 Konstantin Khorenko
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=010701a22f196f07-f1693a5d-c506-4a2e-8ede-c4a33e11601f-000000@eu-central-1.amazonses.com \
--to=no-reply@sashiko.virtuozzo.com \
--cc=devel@openvz.org \
--cc=khorenko@virtuozzo.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.