Fix ppoll on o32 with 64bit kernel
PATCH 1/1 Fix ppoll on o32 with 64bit kernel
sys_ppoll syscall needs to use a compat handler on 64bit kernels with o32 user-space. This patch wires it.
Signed-off-by Arnaud Patard <[email protected]>
---
---
arch/mips/kernel/scall64-o32.S | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/kernel/scall64-o32.S +1 -1
@@ -507,7 +507,7 @@ sys_call_table: PTR sys_fchmodat PTR sys_faccessat /* 4300 */ PTR compat_sys_pselect6 - PTR sys_ppoll + PTR compat_sys_ppoll PTR sys_unshare PTR sys_splice PTR sys32_sync_file_range /* 4305 */
Ralf Baechle
AppliedQuoted 4 lines · Arnaud Patard
sys_ppollsyscall needs to use a compat handler on 64bit kernels with o32 user-space. This patch wires it.Signed-off-by Arnaud Patard <[email protected]>
Cute. This one applies to all kernel from 2.6.16 up.
Applied, thanks!
Ralf