summaryrefslogtreecommitdiff
path: root/fs/stat.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:14:18 +0100
committerHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:15:25 +0100
commit002c8976ee537724b20a5e179d9b349309438836 (patch)
tree272ebe6d0dcb06bb16b978fb9793d266dbc1301a /fs/stat.c
parenta26eab2400f0477bfac0255600552394855016f7 (diff)
downloadlinux-stable-002c8976ee537724b20a5e179d9b349309438836.tar.gz
linux-stable-002c8976ee537724b20a5e179d9b349309438836.tar.bz2
linux-stable-002c8976ee537724b20a5e179d9b349309438836.zip
[CVE-2009-0029] System call wrappers part 16
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'fs/stat.c')
-rw-r--r--fs/stat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/stat.c b/fs/stat.c
index f29c5fe4f8b6..d712a0dfb50f 100644
--- a/fs/stat.c
+++ b/fs/stat.c
@@ -320,8 +320,8 @@ asmlinkage long sys_readlinkat(int dfd, const char __user *pathname,
return error;
}
-asmlinkage long sys_readlink(const char __user *path, char __user *buf,
- int bufsiz)
+SYSCALL_DEFINE3(readlink, const char __user *, path, char __user *, buf,
+ int, bufsiz)
{
return sys_readlinkat(AT_FDCWD, path, buf, bufsiz);
}