diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2009-01-14 14:14:35 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-18 10:35:40 -0800 |
commit | 017934b7b4762664edabd174fd7568dd342e2775 (patch) | |
tree | 5abdb4cde5d44dc8d540738da7431852f67acef5 | |
parent | bb5e15adc590a9c9db32b059afa37362c198adca (diff) |
System call wrappers part 33
commit 2b66421995d2e93c9d1a0111acf2581f8529c6e5 upstream.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | fs/pipe.c | 2 | ||||
-rw-r--r-- | include/linux/syscalls.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/fs/pipe.c b/fs/pipe.c index bc132414821..35d2cbb75db 100644 --- a/fs/pipe.c +++ b/fs/pipe.c @@ -1067,7 +1067,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 726f0dfd933..f54aa382ca9 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h @@ -686,6 +686,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[]); |