summaryrefslogtreecommitdiff
path: root/arch/sh/kernel/syscalls_64.S
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2012-03-28 07:20:20 (GMT)
committerPaul Mundt <lethal@linux-sh.org>2012-03-28 07:20:20 (GMT)
commit9b2ffa8d048656baf7f5e764d2586ba59927a25b (patch)
tree1102eb8f5d5da88bb0747a5adb156f0f68953e0e /arch/sh/kernel/syscalls_64.S
parent10a068f27ac2200c83f6d13f5e03f6e48cf06d10 (diff)
downloadlinux-9b2ffa8d048656baf7f5e764d2586ba59927a25b.tar.xz
sh: Avoid exporting unimplemented syscalls.
Now that userspace is making use of kernel-provided sanitized headers for working out supported interfaces, we need to be a bit more diligent with matching the syscall definitions with their actual wiring/support state. In theory it shouldn't hurt anything since sys_ni_syscall will ultimately do the right thing, but there's also not much need to lie about legacy x86 syscalls that we've never supported. This tightens things up a bit for uClibc at least. Suggested-by: Carmelo Amoroso <carmelo.amoroso@st.com> Acked-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/syscalls_64.S')
-rw-r--r--arch/sh/kernel/syscalls_64.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/sh/kernel/syscalls_64.S b/arch/sh/kernel/syscalls_64.S
index 9af7de2..0956345 100644
--- a/arch/sh/kernel/syscalls_64.S
+++ b/arch/sh/kernel/syscalls_64.S
@@ -208,8 +208,8 @@ sys_call_table:
.long sys_capset /* 185 */
.long sys_sigaltstack
.long sys_sendfile
- .long sys_ni_syscall /* streams1 */
- .long sys_ni_syscall /* streams2 */
+ .long sys_ni_syscall /* getpmsg */
+ .long sys_ni_syscall /* putpmsg */
.long sys_vfork /* 190 */
.long sys_getrlimit
.long sys_mmap2
@@ -296,8 +296,8 @@ sys_call_table:
.long sys_futex
.long sys_sched_setaffinity
.long sys_sched_getaffinity /* 270 */
- .long sys_ni_syscall
- .long sys_ni_syscall
+ .long sys_ni_syscall /* reserved for set_thread_area */
+ .long sys_ni_syscall /* reserved for get_thread_area */
.long sys_io_setup
.long sys_io_destroy
.long sys_io_getevents /* 275 */