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

Signed-off-by: Heiko Carstens <[email protected]>
This commit is contained in:
Heiko Carstens 2009-01-14 14:14:22 +01:00
commit 3cdad42884
5 changed files with 14 additions and 12 deletions

View file

@ -2092,7 +2092,7 @@ Elong:
* return NULL;
* }
*/
asmlinkage long sys_getcwd(char __user *buf, unsigned long size)
SYSCALL_DEFINE2(getcwd, char __user *, buf, unsigned long, size)
{
int error;
struct path pwd, root;