* [PATCH] Fix ppoll on o32 with 64bit kernel
@ 2009-10-20 8:27 Arnaud Patard
2009-11-02 6:50 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Arnaud Patard @ 2009-10-20 8:27 UTC (permalink / raw)
To: linux-mips
[-- Attachment #1: Type: text/plain, Size: 165 bytes --]
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 <apatard@mandriva.com>
---
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: ppoll_fix.patch --]
[-- Type: text/x-patch, Size: 624 bytes --]
---
arch/mips/kernel/scall64-o32.S | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6.24/arch/mips/kernel/scall64-o32.S
===================================================================
--- linux-2.6.24.orig/arch/mips/kernel/scall64-o32.S 2008-07-07 17:49:07.000000000 +0200
+++ linux-2.6.24/arch/mips/kernel/scall64-o32.S 2008-07-07 19:27:42.000000000 +0200
@@ -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 */
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix ppoll on o32 with 64bit kernel
2009-10-20 8:27 [PATCH] Fix ppoll on o32 with 64bit kernel Arnaud Patard
@ 2009-11-02 6:50 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2009-11-02 6:50 UTC (permalink / raw)
To: Arnaud Patard; +Cc: linux-mips
On Tue, Oct 20, 2009 at 10:27:47AM +0200, Arnaud Patard wrote:
> 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 <apatard@mandriva.com>
Cute. This one applies to all kernel from 2.6.16 up.
Applied, thanks!
Ralf
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-11-02 6:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-20 8:27 [PATCH] Fix ppoll on o32 with 64bit kernel Arnaud Patard
2009-11-02 6:50 ` Ralf Baechle
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.