Re: [PATCH v9 11/23] x86/virt/seamldr: Allocate and populate a module update request

From: Edgecombe, Rick P

Date: Fri May 15 2026 - 14:47:21 EST


On Fri, 2026-05-15 at 11:24 -0700, Dave Hansen wrote:
> > + /* Check the calculated payload size against the data size. */
> > + if (HEADER_SIZE + sigstruct_len + module_len != size)
> > + return -EINVAL;
> > +
> > + /*
> > + * Don't care about user passing the wrong file, but protect
> > + * kernel ABI by preventing accepting garbage.
> > + */
>
> How does this "protect kernel ABI"?

I think it means to not allow values in that field in case the kernel wants to
make them mean something new, later.