[PATCH v19 15/20] fsverity: expose verified fsverity built-in signatures to LSMs

Jarkko Sakkinen jarkko at kernel.org
Thu May 30 05:51:21 UTC 2024


On Thu May 30, 2024 at 4:44 AM EEST, Paul Moore wrote:
> > +	err = security_inode_setintegrity(inode,
> > +					  LSM_INT_FSVERITY_BUILTINSIG_VALID,
> > +					  signature,
> > +					  le32_to_cpu(sig_size));
>
> I like this much better without the explicit inode cast :)

Would be nice btw if that was 'ret' or 'rc' because err is such
a common name for exception handler alike goto-labels... Looks
confusing just because of that :-)

BR, Jarkko



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