[Devel] [PATCH VZ8] kernfs/ve: ignore kernfs 've_perms_map' in cgroups.
Andrey Ryabinin
aryabinin at virtuozzo.com
Mon Jun 1 12:53:41 MSK 2020
On 6/1/20 12:15 PM, Valeriy Vdovin wrote:
> From: "Valeriy.Vdovin" <valeriy.vdovin at virtuozzo.com>
>
> Kernfs implements file permissions logic, that relies on
> (struct kernfs_node).ve_perms_map. In VZ8 cgroups have been modified
> to use kernfs, but cgroups do not benefit from using ve_perms_map in
> any way so it's left uninitialized in cgroup code. There is no clear
> way of implementing any kind of stub ve_perms_map for cgroups, so it
> seems the best logic is to allow the field exist as NULL for those
> who uses kernfs but don't wish to use ve_perms_map.
>
> https://jira.sw.ru/browse/PSBM-104455
> Signed-off-by: Valeriy.Vdovin <valeriy.vdovin at virtuozzo.com>
Reviewed-by: Andrey Ryabinin <aryabinin at virtuozzo.com>
More information about the Devel
mailing list