[PATCH v3 5/6] KEYS: Replace assoc_array with rhashtable
Jarkko Sakkinen
jarkko at kernel.org
Tue Oct 27 02:56:14 UTC 2026
On Mon, Oct 26, 2026 at 06:29:52PM -0700, Eric Biggers wrote:
> How about replacing 'struct keyring_link *edit[2]' with a named struct?
> It's kind of hard to remember what [0] and [1] are.
I'll look go through rest of the comments later but since it is two vs
one with using named struct (David propose named struct) let's go with
that.
I.e., along the lines of:
struct keyring_edit {
struct keyring_link *new;
struct keyring_link *old;
};
>
> - Eric
Br, Jarkko
More information about the Linux-security-module-archive
mailing list