summaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:13:55 +0100
committerHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:15:15 +0100
commite55380edf68796d75bf41391a781c68ee678587d (patch)
tree3f40b4c46c8723bb5bec0e2e009416069a7725fc /arch/sh
parent2ed7c03ec17779afb4fcfa3b8c61df61bd4879ba (diff)
downloadlinux-e55380edf68796d75bf41391a781c68ee678587d.tar.gz
linux-e55380edf68796d75bf41391a781c68ee678587d.tar.bz2
linux-e55380edf68796d75bf41391a781c68ee678587d.zip
[CVE-2009-0029] Rename old_readdir to sys_old_readdir
This way it matches the generic system call name convention. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/kernel/syscalls_32.S2
-rw-r--r--arch/sh/kernel/syscalls_64.S2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/kernel/syscalls_32.S b/arch/sh/kernel/syscalls_32.S
index 0af693e65764..a87ce076cfa2 100644
--- a/arch/sh/kernel/syscalls_32.S
+++ b/arch/sh/kernel/syscalls_32.S
@@ -105,7 +105,7 @@ ENTRY(sys_call_table)
.long sys_uselib
.long sys_swapon
.long sys_reboot
- .long old_readdir
+ .long sys_old_readdir
.long old_mmap /* 90 */
.long sys_munmap
.long sys_truncate
diff --git a/arch/sh/kernel/syscalls_64.S b/arch/sh/kernel/syscalls_64.S
index 0b436aa3cad7..557cb91f5caf 100644
--- a/arch/sh/kernel/syscalls_64.S
+++ b/arch/sh/kernel/syscalls_64.S
@@ -109,7 +109,7 @@ sys_call_table:
.long sys_uselib
.long sys_swapon
.long sys_reboot
- .long old_readdir
+ .long sys_old_readdir
.long old_mmap /* 90 */
.long sys_munmap
.long sys_truncate