HomeFreeBSD

Add an argument to newnfs_connect() that indicates use TLS for the connection.

Description

Add an argument to newnfs_connect() that indicates use TLS for the connection.

For NFSv4.0, the server creates a server->client TCP connection for callbacks.
If the client mount on the server is using TLS, enable TLS for this callback
TCP connection.
TLS connections from clients will not be supported until the kernel RPC
changes are committed.

Since this changes the internal ABI between the NFS kernel modules that
will require a version bump, delete newnfs_trimtrailing(), which is no
longer used.

Since LCL_TLSCB is not yet set, these changes should not have any semantic
affect at this time.

Details

Provenance
rmacklemAuthored on Aug 11 2020, 12:26 AM
Parents
rGcc321ccd753c: Export scandir_b from libc.
Branches
Unknown
Tags
Unknown

Event Timeline