Page MenuHomeFreeBSD

rpcsec_tls/server: use netlink RPC client to talk to rpc.tlsservd(8)
ClosedPublic

Authored by glebius on Mon, Jan 20, 9:05 PM.
Tags
None
Referenced Files
F109200865: D48561.diff
Sun, Feb 2, 12:13 AM
F109155522: D48561.diff
Sat, Feb 1, 1:24 PM
Unknown Object (File)
Fri, Jan 31, 4:55 AM
Unknown Object (File)
Fri, Jan 31, 12:15 AM
Unknown Object (File)
Thu, Jan 30, 10:16 PM
Unknown Object (File)
Sun, Jan 26, 7:38 PM
Unknown Object (File)
Fri, Jan 24, 9:13 PM
Unknown Object (File)
Thu, Jan 23, 9:02 PM
Subscribers

Details

Summary

The server part just repeats what had been done to the client. We trust
the parallelism of clnt_nl and we pass socket cookie to the daemon, which
we then expect to see in the rpctls_syscall(RPCTLS_SYSC_SRVSOCKET) to find
the corresponding socket+xprt. We reuse the same database that is used
for clients.

Note 1: this will be optimized further in a separate commit. This one is
made intentionally minimal, to ease the review process.

Note 2: this change intetionally ignores aspect of multiple workers of
rpc.tlsservd(8). This also will be addressed in a future commit.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 61834
Build 58718: arc lint + arc unit