[CVE-2009-0029] System call wrappers part 16
[deliverable/linux.git] / fs / stat.c
index f29c5fe4f8b6c27c842f16470d0bac1894740de0..d712a0dfb50ff6076fe5b02178ad8c2c1ff939b5 100644 (file)
--- 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);
 }
This page took 0.026677 seconds and 5 git commands to generate.