aboutsummaryrefslogtreecommitdiffstats
path: root/fs/namei.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 08:14:17 -0500
committerHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 08:15:24 -0500
commita26eab2400f0477bfac0255600552394855016f7 (patch)
treef5554eddf4928cc83e572c15c0b314daaa7cba66 /fs/namei.c
parent3480b25743cb7404928d57efeaa3d085708b04c2 (diff)
[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:
2718 return error; 2718 return error;
2719} 2719}
2720 2720
2721asmlinkage long sys_rename(const char __user *oldname, const char __user *newname) 2721SYSCALL_DEFINE2(rename, const char __user *, oldname, const char __user *, newname)
2722{ 2722{
2723 return sys_renameat(AT_FDCWD, oldname, AT_FDCWD, newname); 2723 return sys_renameat(AT_FDCWD, oldname, AT_FDCWD, newname);
2724} 2724}