From: Heiko Carstens Date: Wed, 14 Jan 2009 13:14:35 +0000 (+0100) Subject: [CVE-2009-0029] System call wrappers part 33 X-Git-Tag: v2.6.29-rc2~77^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=2b66421995d2e93c9d1a0111acf2581f8529c6e5;p=linux-2.6-omap-h63xx.git [CVE-2009-0029] System call wrappers part 33 Signed-off-by: Heiko Carstens --- diff --git a/fs/pipe.c b/fs/pipe.c index b89c878588a..3a48ba5179d 100644 --- a/fs/pipe.c +++ b/fs/pipe.c @@ -1059,7 +1059,7 @@ SYSCALL_DEFINE2(pipe2, int __user *, fildes, int, flags) return error; } -asmlinkage long sys_pipe(int __user *fildes) +SYSCALL_DEFINE1(pipe, int __user *, fildes) { return sys_pipe2(fildes, 0); } diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index 56c400138b0..16875f89e6a 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h @@ -685,6 +685,7 @@ asmlinkage long sys_ppoll(struct pollfd __user *, unsigned int, struct timespec __user *, const sigset_t __user *, size_t); asmlinkage long sys_pipe2(int __user *, int); +asmlinkage long sys_pipe(int __user *); int kernel_execve(const char *filename, char *const argv[], char *const envp[]);