[Devel] [PATCH hci-8.1 v5 2/5] ve: Introduce override_ve/revert_ve helpers
no-reply at sashiko.virtuozzo.com
no-reply at sashiko.virtuozzo.com
Tue Nov 10 20:35:19 MSK 2026
> These helpers mirror override_creds/revert_creds and are supposed to
> be used together in cases when VE creds may be stored and later used
> by the different VE task.
>
> To keep task_ve consistent for other users, introduce a separate
> task->overrided_ve field. Nobody should race on it since its
> updates are supposed to go with override_creds, and non-current
> processes shouldn't do this.
>
> This field is not supposed to be inherited via fork, so report
> a check for this was added as well.
>
> https://virtuozzo.atlassian.net/browse/VSTOR-142405
> Signed-off-by: Vladimir Riabchun <vladimir.riabchun at virtuozzo.com>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261110-ovl-use-orig-ve-v5-0-f3f2bdb29e23@virtuozzo.com?part=2
More information about the Devel
mailing list