]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
System call wrappers part 33
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 14 Jan 2009 13:14:35 +0000 (14:14 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 18 Jan 2009 18:44:01 +0000 (10:44 -0800)
commit 2b66421995d2e93c9d1a0111acf2581f8529c6e5 upstream.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/pipe.c
include/linux/syscalls.h

index 97108d7dcc97a888f2f35201280e9af063c0b36e..47b34d235419eab9cce10d1c363a9da687a6c2d1 100644 (file)
--- a/fs/pipe.c
+++ b/fs/pipe.c
@@ -1064,7 +1064,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[]);