aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSorin Dumitru <sdumitru@ixiacom.com>2014-06-20 07:23:35 -0400
committerRalf Baechle <ralf@linux-mips.org>2014-08-01 11:32:23 -0400
commit077d0e65618f27b2199d622e12ada6d8f3dbd862 (patch)
tree35d94e1b73bc76ffc12346e8e1cfd0ba0dc1d0cf /arch
parent0435b13ee3732c1dda5312025f49073d01d8d15d (diff)
MIPS: N32: Use compat getsockopt syscall
The IP_PKTOPTIONS sockopt puts control messages in option_values, these need to be handled differently in the compat case. This is already done through the MSG_CMSG_COMPAT flag, we just need to use compat_sys_getsockopt which sets that flag. Signed-off-by: Sorin Dumitru <sdumitru@ixiacom.com> Reviewed-by: James Hogan <james.hogan@imgtec.com> Cc: linux-kernel@vger.kernel.org Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/7115/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/kernel/scall64-n32.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/scall64-n32.S b/arch/mips/kernel/scall64-n32.S
index c1dbcda4b816..e543861ef00a 100644
--- a/arch/mips/kernel/scall64-n32.S
+++ b/arch/mips/kernel/scall64-n32.S
@@ -162,7 +162,7 @@ EXPORT(sysn32_call_table)
162 PTR sys_getpeername 162 PTR sys_getpeername
163 PTR sys_socketpair 163 PTR sys_socketpair
164 PTR compat_sys_setsockopt 164 PTR compat_sys_setsockopt
165 PTR sys_getsockopt 165 PTR compat_sys_getsockopt
166 PTR __sys_clone /* 6055 */ 166 PTR __sys_clone /* 6055 */
167 PTR __sys_fork 167 PTR __sys_fork
168 PTR compat_sys_execve 168 PTR compat_sys_execve