[PATCH v2 05/25] capability: use vfsuid_t for vfs_caps rootids

Christian Brauner brauner at kernel.org
Thu Feb 22 14:25:08 UTC 2024


On Wed, Feb 21, 2024 at 03:24:36PM -0600, Seth Forshee (DigitalOcean) wrote:
> The rootid is a kuid_t, but it contains an id which maped into a mount
> idmapping, so it is really a vfsuid. This is confusing and creates
> potential for misuse of the value, so change it to vfsuid_t.
> 
> Acked-by: Paul Moore <paul at paul-moore.com>
> Signed-off-by: Seth Forshee (DigitalOcean) <sforshee at kernel.org>
> ---

Looks good,
Reviewed-by: Christian Brauner <brauner at kernel.org>



More information about the Linux-security-module-archive mailing list