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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=317168
@ -186,6 +186,7 @@ __DEFAULT_NO_OPTIONS = \
|
|||||||
OFED \
|
OFED \
|
||||||
OPENLDAP \
|
OPENLDAP \
|
||||||
REPRODUCIBLE_BUILD \
|
REPRODUCIBLE_BUILD \
|
||||||
|
RPCBIND_WARMSTART_SUPPORT \
|
||||||
SHARED_TOOLCHAIN \
|
SHARED_TOOLCHAIN \
|
||||||
SORT_THREADS \
|
SORT_THREADS \
|
||||||
SVN \
|
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
|
CFLAGS+= -DINET6
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.if ${MK_RPCBIND_WARMSTART_SUPPORT} != "no"
|
||||||
|
CFLAGS+= -DWARMSTART
|
||||||
|
.endif
|
||||||
|
|
||||||
.if ${MK_TCP_WRAPPERS} != "no"
|
.if ${MK_TCP_WRAPPERS} != "no"
|
||||||
CFLAGS+= -DLIBWRAP
|
CFLAGS+= -DLIBWRAP
|
||||||
LIBADD+= wrap
|
LIBADD+= wrap
|
||||||
|
Loading…
Reference in New Issue
Block a user