[PATCH] Use compat_sys_pselect6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The N32 and O32 pselect6 syscalls need to use compat_sys_pselect6 to
translate arguments from 32-bit to 64-bit layout.

Signed-off-by: Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
---
diff -rupN linux-2.6.19.orig/arch/mips/kernel/scall64-n32.S linux-2.6.19/arch/mips/kernel/scall64-n32.S
--- linux-2.6.19.orig/arch/mips/kernel/scall64-n32.S	2006-11-29 21:57:37.000000000 +0000
+++ linux-2.6.19/arch/mips/kernel/scall64-n32.S	2007-01-10 00:17:13.000000000 +0000
@@ -384,7 +384,7 @@ EXPORT(sysn32_call_table)
 	PTR	sys_readlinkat
 	PTR	sys_fchmodat
 	PTR	sys_faccessat
-	PTR	sys_pselect6
+	PTR	compat_sys_pselect6
 	PTR	sys_ppoll			/* 6265 */
 	PTR	sys_unshare
 	PTR	sys_splice
diff -rupN linux-2.6.19.orig/arch/mips/kernel/scall64-o32.S linux-2.6.19/arch/mips/kernel/scall64-o32.S
--- linux-2.6.19.orig/arch/mips/kernel/scall64-o32.S	2006-11-29 21:57:37.000000000 +0000
+++ linux-2.6.19/arch/mips/kernel/scall64-o32.S	2007-01-10 00:16:26.000000000 +0000
@@ -506,7 +506,7 @@ sys_call_table:
 	PTR	sys_readlinkat
 	PTR	sys_fchmodat
 	PTR	sys_faccessat			/* 4300 */
-	PTR	sys_pselect6
+	PTR	compat_sys_pselect6
 	PTR	sys_ppoll
 	PTR	sys_unshare
 	PTR	sys_splice

-- 
Joseph S. Myers
joseph@xxxxxxxxxxxxxxxx


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux