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. MFC after: 7 weeks Relnotes: yes Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
3cf7801299
commit
609b7b269d
@ -186,6 +186,7 @@ __DEFAULT_NO_OPTIONS = \
|
||||
OFED \
|
||||
OPENLDAP \
|
||||
REPRODUCIBLE_BUILD \
|
||||
RPCBIND_WARMSTART_SUPPORT \
|
||||
SHARED_TOOLCHAIN \
|
||||
SORT_THREADS \
|
||||
SVN \
|
||||
|
4
tools/build/options/WITH_RPCBIND_WARMSTART_SUPPORT
Normal file
4
tools/build/options/WITH_RPCBIND_WARMSTART_SUPPORT
Normal file
@ -0,0 +1,4 @@
|
||||
.\" $FreeBSD$
|
||||
Set to build
|
||||
.Xr rpcbind 8
|
||||
with warmstart support.
|
@ -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
|
||||
LIBADD+= wrap
|
||||
|
Loading…
x
Reference in New Issue
Block a user