kernel, libc - add pipe2()

Operating Systems / DragonFlyBSD - Matthew Dillon [apollo.backplane.com] - 19 May 2015 13:45 UTC

- Add the pipe2() system call.

ca1161c kernel, libc - add pipe2()
include/unistd.h | 1 +
lib/libc/sys/Symbol.map | 3 ++
lib/libc/x86_64/sys/Makefile.inc | 2 +-
lib/libc/x86_64/sys/pipe2.S | 58 ++++++++++++++++++++++++
sys/kern/init_sysent.c | 1 +
sys/kern/kern_descrip.c | 92 +++++---------------------------------
sys/kern/sys_pipe.c | 27 ++++++++++-
sys/kern/syscalls.c | 1 +
sys/kern/syscalls.master | 1 +
sys/sys/kern_syscall.h | 5 +++
sys/sys/param.h | 3 +-
sys/sys/syscall.h | 3 +-
sys/sys/syscall.mk | 3 +-
sys/sys/sysproto.h | 8 ++++
sys/sys/sysunion.h | 1 +
15 files changed, 121 insertions(+), 88 deletions(-)

Upstream: gitweb.dragonflybsd.org


  • Share