[CVE-2009-0029] System call wrappers part 16

Signed-off-by: Heiko Carstens <[email protected]>
This commit is contained in:
Heiko Carstens 2009-01-14 14:14:18 +01:00
commit 002c8976ee
5 changed files with 17 additions and 17 deletions

View file

@ -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);
}