[PATCH v4 10/17] module: Move integrity checks into dedicated function
Eric Biggers
ebiggers at kernel.org
Tue Mar 10 22:06:11 UTC 2026
On Tue, Jan 13, 2026 at 01:28:54PM +0100, Thomas Weißschuh wrote:
> +static int module_integrity_check(struct load_info *info, int flags)
> +{
> + int err = 0;
> +
> + if (IS_ENABLED(CONFIG_MODULE_SIG))
> + err = module_sig_check(info, flags);
> +
> + return err;
> +}
Maybe module_authenticity_check()? The purpose is authenticity, not
merely integrity.
- Eric
More information about the Linux-security-module-archive
mailing list