freebsd-dev/libexec
Rick Macklem 4389a56610 Add support for the new mountd -R option.
r376026 added a new "-R" option to mountd, which tells it to
not support the Mount protocol (not used by NFSv4) and not
register with rpcbind.
Rpcbind is considered a security issue by some sites now.

This patch adds a new yes/no variable called nfsv4_server_only.
When that is set, make vfs.nfsd.server_min_vers=4 and set "=R"
for mountd.
Setting vfs.nfsd.server_min_vers=4 tells nfsd to not register with rpcbind.
While here, add a check for "load_kld nfsd" failing to nfsd.

Reviewed by:	0mp
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D26938
2020-11-06 16:33:42 +00:00
..
atf
atrun
blacklistd-helper
bootpd
comsat
dma Only set WARNS if not defined 2020-09-11 13:28:37 +00:00
fingerd
flua Properly disable LUA_USE_DLOPEN for bootstrap flua 2020-08-14 02:40:17 +00:00
ftpd ftpd: Add missing braces around a statfd check 2020-09-22 15:54:18 +00:00
getty Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
hyperv
mail.local
makewhatis.local
mknetid
phttpget phttpget: move out of portsnap 2020-09-09 00:39:47 +00:00
pppoed
rbootd
rc Add support for the new mountd -R option. 2020-11-06 16:33:42 +00:00
revnetgroup
rpc.rquotad
rpc.rstatd
rpc.rusersd
rpc.rwalld
rpc.sprayd
rtld-aout
rtld-elf Fix a few mandoc issues 2020-10-09 15:14:19 +00:00
rtld-elf32
save-entropy
smrsh
talkd
tcpd
telnetd
tests
tftp-proxy
tftpd Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
ulog-helper
ypxfr
Makefile phttpget: move out of portsnap 2020-09-09 00:39:47 +00:00
Makefile.amd64
Makefile.i386
Makefile.inc Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00