diff options
author | ngie <ngie@FreeBSD.org> | 2017-05-30 17:47:19 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2017-05-30 17:47:19 +0000 |
commit | 169a33ee66dc40d901f1bf47d0fb7158d245c165 (patch) | |
tree | 91decb2a81b72d7513285eaffa776a3c7d520cef /usr.sbin | |
parent | 3fdc85a2d01b27dbede40ae3d1d510522e51957e (diff) | |
download | FreeBSD-src-169a33ee66dc40d901f1bf47d0fb7158d245c165.zip FreeBSD-src-169a33ee66dc40d901f1bf47d0fb7158d245c165.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/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/rpcbind/Makefile b/usr.sbin/rpcbind/Makefile index 0efb665..57907d3 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 LIBADD+= wrap |