Miklos Szeredi <miklos@xxxxxxxxxx> writes: > 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. > I may be reading the code wrong, but on file creation some of the credentials that are worked on come from the task(?). Cheers, -- Vinicius