Re: [RFC-resend 1/2] x86/compat: Adjust in_compat_syscall() to generic code under !COMPAT

From: Andy Lutomirski
Date: Fri Oct 12 2018 - 10:57:56 EST




> On Oct 12, 2018, at 6:42 AM, Dmitry Safonov <dima@xxxxxxxxxx> wrote:
>
> The result of in_compat_syscall() can be pictured as:
>
> x86 platform:
> ---------------------------------------------------
> | Arch\syscall | 64-bit | ia32 | x32 |
> |-------------------------------------------------|
> | x86_64 | false | true | true |
> |-------------------------------------------------|
> | i686 | | <true> | |
> ---------------------------------------------------
>
> Other platforms:
> -------------------------------------------
> | Arch\syscall | 64-bit | compat |
> |-----------------------------------------|
> | 64-bit | false | true |
> |-----------------------------------------|
> | 32-bit(?) | | <false> |
> -------------------------------------------
>
>

Yikes. This is probably even my fault!

Reviewed-by: Andy Lutomirski <luto@xxxxxxxxxx>

And, if you want:

Apologized-for-by: Andy Lutomirski <luto@xxxxxxxxxx>