opnsense-src/lib/libc/riscv/sys/Makefile.inc
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

23 lines
304 B
Makefile

# $FreeBSD$
SRCS+= trivial-vdso_tc.c
#MDASM= ptrace.S
MDASM= cerror.S \
shmat.S \
sigreturn.S \
syscall.S \
vfork.S
# Don't generate default code for these syscalls:
NOASM= break.o \
exit.o \
getlogin.o \
openbsd_poll.o \
sbrk.o \
sstk.o \
vfork.o \
yield.o
PSEUDO= _exit.o \
_getlogin.o