projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e18ac7
)
MIPS: O32: Use compat_sys_getsockopt.
author
Ralf Baechle
<ralf@linux-mips.org>
Thu, 9 Jul 2015 16:02:51 +0000
(18:02 +0200)
committer
Ralf Baechle
<ralf@linux-mips.org>
Fri, 10 Jul 2015 09:02:22 +0000
(11:02 +0200)
We were using the native syscall and that results in subtle breakage.
This is the same issue as fixed in
077d0e65618f27b2199d622e12ada6d8f3dbd862
(MIPS: N32: Use compat getsockopt syscall) but that commit did fix it only
for N32.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Link:
https://bugzilla.kernel.org/show_bug.cgi?id=100291
arch/mips/kernel/scall64-o32.S
patch
|
blob
|
history
diff --git
a/arch/mips/kernel/scall64-o32.S
b/arch/mips/kernel/scall64-o32.S
index
66d618b
..
f543ff4
100644
(file)
--- a/
arch/mips/kernel/scall64-o32.S
+++ b/
arch/mips/kernel/scall64-o32.S
@@
-400,7
+400,7
@@
EXPORT(sys32_call_table)
PTR sys_connect /* 4170 */
PTR sys_getpeername
PTR sys_getsockname
- PTR sys_getsockopt
+ PTR
compat_
sys_getsockopt
PTR sys_listen
PTR compat_sys_recv /* 4175 */
PTR compat_sys_recvfrom