Re: [PATCH v2 05/16] overlayfs: Use ovl_override_creds_light()/revert_creds_light()
From: Miklos Szeredi
Date: Thu Aug 22 2024 - 04:29:00 EST
On Thu, 22 Aug 2024 at 03:25, Vinicius Costa Gomes
<vinicius.gomes@xxxxxxxxx> wrote:
>
> Convert to use ovl_override_creds_light()/revert_creds_light(), these
> functions assume that the critical section won't modify the usage
> counter of the credentials in question.
>
> In most overlayfs instances, the credentials lifetime is the duration
Why most instances? AFAICS the creds have the same lifetime as the
overlayfs superblock.
Thanks,
Miklos