[RFC PATCH 5/6] KEYS: Replace assoc_array with struct keyring_index

Jarkko Sakkinen jarkko at kernel.org
Thu Oct 22 22:10:20 UTC 2026


On Sun, Oct 18, 2026 at 12:08:22AM -0700, Eric Biggers wrote:
> Make 'hash' u32 and make it adjacent to 'is_keyring' to get rid of the
> hole?

The whole 'is_keyring' is completely redundant and more like a glitch
in this RFC patch (equal to key->type == &key_type_keyring).

Nothing wrong in the review comment. I just wanted to remark this
dead obvious fact that I should noticed immediately (doing updates
ATM) :-)

Br, Jarkko



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