diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-x86/unistd_32.h | 1 | ||||
-rw-r--r-- | include/asm-x86/unistd_64.h | 2 | ||||
-rw-r--r-- | include/linux/fs.h | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-x86/unistd_32.h b/include/asm-x86/unistd_32.h index a1f6383bf695..748a05c77da4 100644 --- a/include/asm-x86/unistd_32.h +++ b/include/asm-x86/unistd_32.h | |||
@@ -336,6 +336,7 @@ | |||
336 | #define __NR_eventfd2 328 | 336 | #define __NR_eventfd2 328 |
337 | #define __NR_epoll_create2 329 | 337 | #define __NR_epoll_create2 329 |
338 | #define __NR_dup3 330 | 338 | #define __NR_dup3 330 |
339 | #define __NR_pipe2 331 | ||
339 | 340 | ||
340 | #ifdef __KERNEL__ | 341 | #ifdef __KERNEL__ |
341 | 342 | ||
diff --git a/include/asm-x86/unistd_64.h b/include/asm-x86/unistd_64.h index f0fb2bd40cdb..d2284b43ad58 100644 --- a/include/asm-x86/unistd_64.h +++ b/include/asm-x86/unistd_64.h | |||
@@ -649,6 +649,8 @@ __SYSCALL(__NR_eventfd2, sys_eventfd2) | |||
649 | __SYSCALL(__NR_epoll_create2, sys_epoll_create2) | 649 | __SYSCALL(__NR_epoll_create2, sys_epoll_create2) |
650 | #define __NR_dup3 292 | 650 | #define __NR_dup3 292 |
651 | __SYSCALL(__NR_dup3, sys_dup3) | 651 | __SYSCALL(__NR_dup3, sys_dup3) |
652 | #define __NR_pipe2 293 | ||
653 | __SYSCALL(__NR_pipe2, sys_pipe2) | ||
652 | 654 | ||
653 | 655 | ||
654 | #ifndef __NO_STUBS | 656 | #ifndef __NO_STUBS |
diff --git a/include/linux/fs.h b/include/linux/fs.h index e5e6a244096c..0e80cd717d32 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -1777,6 +1777,7 @@ static inline void allow_write_access(struct file *file) | |||
1777 | atomic_inc(&file->f_path.dentry->d_inode->i_writecount); | 1777 | atomic_inc(&file->f_path.dentry->d_inode->i_writecount); |
1778 | } | 1778 | } |
1779 | extern int do_pipe(int *); | 1779 | extern int do_pipe(int *); |
1780 | extern int do_pipe_flags(int *, int); | ||
1780 | extern struct file *create_read_pipe(struct file *f); | 1781 | extern struct file *create_read_pipe(struct file *f); |
1781 | extern struct file *create_write_pipe(void); | 1782 | extern struct file *create_write_pipe(void); |
1782 | extern void free_write_pipe(struct file *); | 1783 | extern void free_write_pipe(struct file *); |