[PATCH v3 3/8] module: Give 'enum pkey_id_type' a more specific name

David Howells dhowells at redhat.com
Thu Mar 5 10:52:47 UTC 2026


Thomas Weißschuh <thomas.weissschuh at linutronix.de> wrote:

> -enum pkey_id_type {
> -	PKEY_ID_PKCS7 = 2,	/* Signature in PKCS#7 message */
> +enum module_signature_type {
> +	MODULE_SIGNATURE_TYPE_PKCS7 = 2,	/* Signature in PKCS#7 message */
>  };

It might be best to just kill the enum and replace it with a single #define.

David




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