[Devel] [PATCH vz10 4/6] cgroup: give the CT root file writes and hidden roots only to setup tasks
Konstantin Khorenko
khorenko at virtuozzo.com
Mon Nov 16 20:17:50 MSK 2026
I won't apply this version, please send v2.
On Mon, 16 Nov 2026 14:45:47 +0400, Mirian Shilakadze wrote:
> Use ve_current_is_pseudosuper() for both, so only setup tasks get them.
Item 4 of the cover letter reply: update the comment above
ve_pseudosuper_write().
Why: it says dropping pseudosuper "is allowed from any context". After
this patch a task in the CT that is not a setup task gets -EPERM from
cgroup_file_write() on that file.
--
Konstantin Khorenko,
Virtuozzo Linux Kernel Team
More information about the Devel
mailing list