summaryrefslogtreecommitdiffstats
path: root/fs/namei.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:14:17 +0100
committerHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:15:24 +0100
commita26eab2400f0477bfac0255600552394855016f7 (patch)
treef5554eddf4928cc83e572c15c0b314daaa7cba66 /fs/namei.c
parent3480b25743cb7404928d57efeaa3d085708b04c2 (diff)
downloadlinux-a26eab2400f0477bfac0255600552394855016f7.tar.gz
linux-a26eab2400f0477bfac0255600552394855016f7.tar.bz2
linux-a26eab2400f0477bfac0255600552394855016f7.zip
[CVE-2009-0029] System call wrappers part 15
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'fs/namei.c')
-rw-r--r--fs/namei.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/namei.c b/fs/namei.c
index 43fa25259728..00c4f37a0391 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -2718,7 +2718,7 @@ exit:
return error;
}
-asmlinkage long sys_rename(const char __user *oldname, const char __user *newname)
+SYSCALL_DEFINE2(rename, const char __user *, oldname, const char __user *, newname)
{
return sys_renameat(AT_FDCWD, oldname, AT_FDCWD, newname);
}