projects
/
platform
/
kernel
/
linux-3.10.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
|
history
diff --git
a/arch/mips/kernel/linux32.c
b/arch/mips/kernel/linux32.c
index
8eeee1c
..
db9655f
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;
}