Commit 2b664219 authored by Heiko Carstens's avatar Heiko Carstens

[CVE-2009-0029] System call wrappers part 33

Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
parent d4e82042
...@@ -1059,7 +1059,7 @@ SYSCALL_DEFINE2(pipe2, int __user *, fildes, int, flags) ...@@ -1059,7 +1059,7 @@ SYSCALL_DEFINE2(pipe2, int __user *, fildes, int, flags)
return error; return error;
} }
asmlinkage long sys_pipe(int __user *fildes) SYSCALL_DEFINE1(pipe, int __user *, fildes)
{ {
return sys_pipe2(fildes, 0); return sys_pipe2(fildes, 0);
} }
......
...@@ -685,6 +685,7 @@ asmlinkage long sys_ppoll(struct pollfd __user *, unsigned int, ...@@ -685,6 +685,7 @@ asmlinkage long sys_ppoll(struct pollfd __user *, unsigned int,
struct timespec __user *, const sigset_t __user *, struct timespec __user *, const sigset_t __user *,
size_t); size_t);
asmlinkage long sys_pipe2(int __user *, int); 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[]); int kernel_execve(const char *filename, char *const argv[], char *const envp[]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment