opnsense-src/lib/libc/riscv
Brooks Davis b60998c633 Replace use of the pipe(2) system call with pipe2(2) with a zero flags
value.

This eliminates the need for machine dependant assembly wrappers for
pipe(2).

It also make passing an invalid address to pipe(2) return EFAULT rather
than triggering a segfault.  Document this behavior (which was already
true for pipe2(2), but undocumented).

Reviewed by:	andrew
Approved by:	re (gjb)
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D6815
2016-06-22 21:11:27 +00:00
..
gen Bring in initial libc and libstand support for RISC-V. 2016-01-17 15:21:23 +00:00
sys Replace use of the pipe(2) system call with pipe2(2) with a zero flags 2016-06-22 21:11:27 +00:00
_fpmath.h Bring in initial libc and libstand support for RISC-V. 2016-01-17 15:21:23 +00:00
arith.h Bring in initial libc and libstand support for RISC-V. 2016-01-17 15:21:23 +00:00
gd_qnan.h Bring in initial libc and libstand support for RISC-V. 2016-01-17 15:21:23 +00:00
Makefile.inc Bring in initial libc and libstand support for RISC-V. 2016-01-17 15:21:23 +00:00
Symbol.map Remove legacy brk and sbrk from RISC-V. 2016-05-25 14:08:21 +00:00
SYS.h Bring in initial libc and libstand support for RISC-V. 2016-01-17 15:21:23 +00:00