HomeFreeBSD

Add options to rpctls_getinfo() to check if the daemons are running.

Description

Add options to rpctls_getinfo() to check if the daemons are running.

When both of the new options are "false", the behaviour does not change.
When either option is true, rpctls_getinfo() checks to see if the
corresponding daemon is connected to the socket for server upcalls.
It returns false if it is not connected.
This allows the NFS client and server to fail attempts to use TLS
when the required daemon is not running and connected to the upcall socekt.

This patch also assumes that rpctls_getinfo() will return an appropriate
maximum size for the ext_pgs mbufs in the list required by sosend() for
TLS, so it no longer bothers to do a min() with the 16K default in
the NFS code.

Details

Provenance
rmacklemAuthored on
Parents
rS362667: Fix "current" variable name conflict with openzfs
Branches
Unknown
Tags
Unknown