commit | a26eab2400f0477bfac0255600552394855016f7 | [log] [tgz] |
---|---|---|
author | Heiko Carstens <heiko.carstens@de.ibm.com> | Wed Jan 14 14:14:17 2009 +0100 |
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | Wed Jan 14 14:15:24 2009 +0100 |
tree | f5554eddf4928cc83e572c15c0b314daaa7cba66 | |
parent | 3480b25743cb7404928d57efeaa3d085708b04c2 [diff] [blame] |
[CVE-2009-0029] System call wrappers part 15 Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
diff --git a/fs/namei.c b/fs/namei.c index 43fa252..00c4f37 100644 --- a/fs/namei.c +++ b/fs/namei.c
@@ -2718,7 +2718,7 @@ 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); }