diff options
-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) | |||
1059 | return error; | 1059 | return error; |
1060 | } | 1060 | } |
1061 | 1061 | ||
1062 | asmlinkage long sys_pipe(int __user *fildes) | 1062 | SYSCALL_DEFINE1(pipe, int __user *, fildes) |
1063 | { | 1063 | { |
1064 | return sys_pipe2(fildes, 0); | 1064 | return sys_pipe2(fildes, 0); |
1065 | } | 1065 | } |
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index 56c400138b05..16875f89e6a7 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h | |||
@@ -685,6 +685,7 @@ asmlinkage long sys_ppoll(struct pollfd __user *, unsigned int, | |||
685 | struct timespec __user *, const sigset_t __user *, | 685 | struct timespec __user *, const sigset_t __user *, |
686 | size_t); | 686 | size_t); |
687 | asmlinkage long sys_pipe2(int __user *, int); | 687 | asmlinkage long sys_pipe2(int __user *, int); |
688 | asmlinkage long sys_pipe(int __user *); | ||
688 | 689 | ||
689 | int kernel_execve(const char *filename, char *const argv[], char *const envp[]); | 690 | int kernel_execve(const char *filename, char *const argv[], char *const envp[]); |
690 | 691 | ||