summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-05-30 17:46:19 +0000
committerngie <ngie@FreeBSD.org>2017-05-30 17:46:19 +0000
commit06cf28cb056e3244de28e1cff17403eb2eb424bb (patch)
treec4a28b9294cb293832ddf431b696a343e615de28 /usr.sbin
parent5201782b2efa7d3c4958c425961ac939158d81ab (diff)
downloadFreeBSD-src-06cf28cb056e3244de28e1cff17403eb2eb424bb.zip
FreeBSD-src-06cf28cb056e3244de28e1cff17403eb2eb424bb.tar.gz
MFC r317168:
Add a knob, WITH*_RPCBIND_WARMSTART_SUPPORT, to allow the end-user to build rpcbind(8) with/without warmstart support. The knob defaults to off to preserve POLA for the feature. See rpcbind(8) for more details about the warmstart feature. Relnotes: yes
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/rpcbind/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/rpcbind/Makefile b/usr.sbin/rpcbind/Makefile
index 287aa40..4dbcea1 100644
--- a/usr.sbin/rpcbind/Makefile
+++ b/usr.sbin/rpcbind/Makefile
@@ -14,6 +14,10 @@ CFLAGS+= -DPORTMAP
CFLAGS+= -DINET6
.endif
+.if ${MK_RPCBIND_WARMSTART_SUPPORT} != "no"
+CFLAGS+= -DWARMSTART
+.endif
+
.if ${MK_TCP_WRAPPERS} != "no"
CFLAGS+= -DLIBWRAP
DPADD+= ${LIBWRAP}
OpenPOWER on IntegriCloud