Subject: Re: [PATCH v4 10/17] module: Move integrity checks into dedicated function

From: Eric Biggers <[email-masked]>
Date: Tue, 10 Mar 2026 15:06:11 -0700

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