diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2009-01-14 13:14:35 (GMT) |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2009-01-14 13:15:32 (GMT) |
commit | 2b66421995d2e93c9d1a0111acf2581f8529c6e5 (patch) | |
tree | 6e22e752ab4e24b9b1c6b1ddfd2b30a3c9e58893 | |
parent | d4e82042c4cfa87a7d51710b71f568fe80132551 (diff) | |
download | linux-2b66421995d2e93c9d1a0111acf2581f8529c6e5.tar.xz |
[CVE-2009-0029] System call wrappers part 33
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
-rw-r--r-- | fs/pipe.c | 2 | ||||
-rw-r--r-- | include/linux/syscalls.h | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -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 56c4001..16875f8 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[]); |