Changeset View
Changeset View
Standalone View
Standalone View
usr.bin/strings/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
.include <src.opts.mk> | .include <src.opts.mk> | ||||
ELFTCDIR= ${SRCTOP}/contrib/elftoolchain | ELFTCDIR= ${SRCTOP}/contrib/elftoolchain | ||||
.PATH: ${ELFTCDIR}/strings | .PATH: ${ELFTCDIR}/strings | ||||
PROG= strings | PROG= strings | ||||
LIBADD= elftc elf | LIBADD= elftc elf | ||||
.if ${MK_CASPER} != "no" | |||||
LIBADD+= casper | |||||
LIBADD+= cap_fileargs | |||||
CFLAGS+= -DWITH_CASPER | |||||
.endif | |||||
cem: If `!defined(WITH_CASPER)`, does `caph_enter_casper()` not enter the capsicum sandbox?
(It… | |||||
oshogboAuthorUnsubmitted Done Inline ActionsYes. oshogbo: Yes. | |||||
CFLAGS+=-I${ELFTCDIR}/libelftc -I${ELFTCDIR}/common | CFLAGS+=-I${ELFTCDIR}/libelftc -I${ELFTCDIR}/common | ||||
.include <bsd.prog.mk> | .include <bsd.prog.mk> |
If !defined(WITH_CASPER), does caph_enter_casper() not enter the capsicum sandbox?
(It seems that this program will be totally broken if the sandbox is entered with MK_CASPER=no.)