Re: [PATCH v3 6/8] x86-32: Enable syscall wrappers

From: Brian Gerst
Date: Fri Feb 28 2020 - 15:06:27 EST


On Fri, Feb 28, 2020 at 2:01 PM Andy Lutomirski <luto@xxxxxxxxxx> wrote:
>
> On Thu, Feb 27, 2020 at 5:28 AM Brian Gerst <brgerst@xxxxxxxxx> wrote:
> >
> > Enable pt_regs based syscalls for 32-bit. This makes the 32-bit native
> > kernel consistent with the 64-bit kernel, and improves the syscall
> > interface by not needing to push all 6 potential arguments onto the stack.
>
> Was the change to the table mechanically generated or mechanically
> verified? If so, how?

It was done by hand, but I can look into writing a script to verify it.

> After this goes in, I should dust off my code to get rid of all the
> __abi crud in the tables. I never quite got it working well enough,
> but your series should help.

That would be nice. After my patches, everything has the ABI prefix
to the functions.

--
Brian Gerst