projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6161aa
)
MIPS: compat: Return same error ENOSYS as native for invalid operation.
author
Ralf Baechle
<ralf@linux-mips.org>
Tue, 22 Jan 2013 09:58:21 +0000
(10:58 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Mon, 11 Mar 2013 15:34:50 +0000
(16:34 +0100)
The pains for multiplexed syscalls.
Noticed by Al Viro <viro@zeniv.linux.org.uk>.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/linux32.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/kernel/linux32.c
b/arch/mips/kernel/linux32.c
index 8eeee1c860c08cd5ea0228e8387668cc2aaa0cc5..db9655f08892d73738664e45a48e088f941b263a 100644
(file)
--- a/
arch/mips/kernel/linux32.c
+++ b/
arch/mips/kernel/linux32.c
@@
-171,7
+171,7
@@
SYSCALL_DEFINE6(32_ipc, u32, call, long, first, long, second, long, third,
err = compat_sys_shmctl(first, second, compat_ptr(ptr));
break;
default:
- err = -E
INVAL
;
+ err = -E
NOSYS
;
break;
}