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]