jonathan 14454847f1 Test process descriptors.
Ensure that process descriptors work as expected. We should be able to:
 - pdfork(), like regular fork(), but producing a process descriptor
 - pdgetpid() to convert a PD into a PID
 - pdkill() to send signals to a process identified by a PD

Approved by:  re (kib), mentor (rwatson)
Sponsored by: Google Inc
2011-08-18 23:15:04 +00:00

27 lines
521 B
Makefile

# $FreeBSD$
PROG= cap_test
SRCS= cap_test.c \
cap_test_capmode.c \
cap_test_capabilities.c \
cap_test_fcntl.c \
cap_test_pdfork.c \
cap_test_pdkill.c \
cap_test_relative.c \
cap_test_sysctl.c \
WARNS= 3
NO_MAN=
# Use headers and libc from the build, if available.
KERNCONF?= GENERIC
OBJROOT= ${.OBJDIR}/../../../../
OBJKERN= ${OBJROOT}/sys/${KERNCONF}
SRCROOT= ${.CURDIR}/../../../../
CFLAGS+= -DMACHINE=\"${MACHINE}\" -I${OBJKERN} -I${SRCROOT}/sys
LDFLAGS+= -L${OBJROOT}/lib/libc -lc
.include <bsd.prog.mk>