Thread (4 messages) flat view 4 messages, 2 authors, 2018-10-12

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

From: Andy Lutomirski <luto@amacapital.net>
Date: 2018-10-12 14:57:56
Also in: linux-efi, lkml

On Oct 12, 2018, at 6:42 AM, Dmitry Safonov [off-list ref] 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@kernel.org>

And, if you want:

Apologized-for-by: Andy Lutomirski [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help