summaryrefslogtreecommitdiff
path: root/mm/mremap.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:14:15 +0100
committerHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:15:23 +0100
commit6a6160a7b5c27b3c38651baef92a14fa7072b3c1 (patch)
treea4a7640bd12611c445dfc013f69ce307674d1b13 /mm/mremap.c
parent64fd1de3d821659ac0a3004fd5ee1de59e64af30 (diff)
downloadlinux-3.10-6a6160a7b5c27b3c38651baef92a14fa7072b3c1.tar.gz
linux-3.10-6a6160a7b5c27b3c38651baef92a14fa7072b3c1.tar.bz2
linux-3.10-6a6160a7b5c27b3c38651baef92a14fa7072b3c1.zip
[CVE-2009-0029] System call wrappers part 13
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'mm/mremap.c')
-rw-r--r--mm/mremap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mm/mremap.c b/mm/mremap.c
index 5572e0825d8..a39b7b91be4 100644
--- a/mm/mremap.c
+++ b/mm/mremap.c
@@ -420,9 +420,9 @@ out_nc:
return ret;
}
-asmlinkage long sys_mremap(unsigned long addr,
- unsigned long old_len, unsigned long new_len,
- unsigned long flags, unsigned long new_addr)
+SYSCALL_DEFINE5(mremap, unsigned long, addr, unsigned long, old_len,
+ unsigned long, new_len, unsigned long, flags,
+ unsigned long, new_addr)
{
unsigned long ret;