]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[CVE-2009-0029] System call wrappers part 33
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 14 Jan 2009 13:14:35 +0000 (14:14 +0100)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 14 Jan 2009 13:15:32 +0000 (14:15 +0100)
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
fs/pipe.c
include/linux/syscalls.h

index b89c878588a9ecabe59b5bc417e3b8ea660ba0bf..3a48ba5179d55000e4d6b26f5a1eb7bfb5a5891d 100644 (file)
--- 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);
 }
index 56c400138b057a185b7f3516d9977045ce142b2d..16875f89e6a7135d28dfccb1c51e4f8174383bea 100644 (file)
@@ -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[]);