Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

syscalls.h add the missing sys_pipe2 declaration

In order to build the generic syscall table, we need a declaration for
every system call. sys_pipe2 was added without a proper declaration, so
add this to syscalls.h now.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Ulrich Drepper <drepper@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Arnd Bergmann and committed by
Linus Torvalds
ecf4667d 7348d82a

+1
+1
include/linux/syscalls.h
··· 433 433 asmlinkage long sys_fcntl64(unsigned int fd, 434 434 unsigned int cmd, unsigned long arg); 435 435 #endif 436 + asmlinkage long sys_pipe2(int __user *fildes, int flags); 436 437 asmlinkage long sys_dup(unsigned int fildes); 437 438 asmlinkage long sys_dup2(unsigned int oldfd, unsigned int newfd); 438 439 asmlinkage long sys_dup3(unsigned int oldfd, unsigned int newfd, int flags);