[RFC PATCH v2 06/11] s390/cert_store: Track subsystem keys instead of re-registering key_type
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Wed Nov 4 03:03:06 UTC 2026
> cert_store refreshes its keyring by unregistering and re-registering
> key_type_cert_store_key so key_type_dead garbage collection sweeps old
> keys, while leaving userspace-linked keys behind.
>
> The removal of key_type_dead will eliminate that sweep.
>
> Register key_type_cert_store_key once during init before creating sysfs
> attributes, and track subsystem-created keys explicitly so refresh
> unlinks and invalidates previous entries directly.
>
> Signed-off-by: Jarkko Sakkinen <jarkko at kernel.org>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261103030226.2685251-1-jarkko@kernel.org?part=6
More information about the Linux-security-module-archive
mailing list