[Devel] [PATCH hci-8.1 v5 3/5] ve: Defer ve creds drop until ve is completely destroyed
Vladimir Riabchun
vladimir.riabchun at virtuozzo.com
Mon Nov 16 14:43:44 MSK 2026
On 11/12/26 14:17, Konstantin Khorenko wrote:
> I won't apply this version, please send v6 with the changes below.
>
> On Tue, 10 Nov 2026 18:26:50 +0100, Vladimir Riabchun <vladimir.riabchun at virtuozzo.com> wrote:
>> @@ -929,6 +932,7 @@ static void ve_destroy(struct cgroup_subsys_state *css)
>> {
>> struct ve_struct *ve = css_to_ve(css);
>>
>> + ve_drop_cred(ve);
>
> - Item 4 of the cover letter reply: fix the two "ve isn't running"
> comments in ve_capable() and ve_capable_noaudit()
> (kernel/capability.c).
>
> After this patch init_cred stays set until ve_destroy(), so a stopped
> VE still has it. NULL now only means the VE was never started, and
> the comments say otherwise.
I'll update the comment, thanks.
>
--
Best regards, Riabchun Vladimir
Linux Kernel Developer, Virtuozzo
More information about the Devel
mailing list