Re: [PATCH] MIPS: scall64-o32: Fix indirect syscall number load

2019-04-15 Thread Paul Burton
Hello, Aurelien Jarno wrote: > Commit 4c21b8fd8f14 (MIPS: seccomp: Handle indirect system calls (o32)) > added indirect syscall detection for O32 processes running on MIPS64, > but it did not work correctly for big endian kernel/processes. The > reason is that the syscall number is loaded from ARG

Re: [PATCH] MIPS: scall64-o32: Fix indirect syscall number load

2019-04-14 Thread Philippe Mathieu-Daudé
On 4/9/19 4:53 PM, Aurelien Jarno wrote: > Commit 4c21b8fd8f14 (MIPS: seccomp: Handle indirect system calls (o32)) > added indirect syscall detection for O32 processes running on MIPS64, > but it did not work correctly for big endian kernel/processes. The > reason is that the syscall number is load

[PATCH] MIPS: scall64-o32: Fix indirect syscall number load

2019-04-09 Thread Aurelien Jarno
Commit 4c21b8fd8f14 (MIPS: seccomp: Handle indirect system calls (o32)) added indirect syscall detection for O32 processes running on MIPS64, but it did not work correctly for big endian kernel/processes. The reason is that the syscall number is loaded from ARG1 using the lw instruction while this