[PATCH net-next v3 00/10] Deliver TLS session tags to upper-layer consumers (NFSD)

Jakub Kicinski kuba at kernel.org
Mon Nov 23 16:34:57 PST 2026


On Sun, 22 Nov 2026 16:27:08 -0800 Chuck Lever wrote:
> On Sat, Nov 21, 2026, at 4:13 PM, Jakub Kicinski wrote:
> > Naively I'd think it creates unnecessarily wide API on both ends
> > (handshake and server). My knee jerk design would be to populate
> > the full policy in the server, and only carry some "policy ID"
> > thru the handshake. Number of policy IDs would equal to the number
> > of tag combinations (which result in different behavior).  
> 
> How is a tag much different than a policy ID?
> 
> It wouldn’t be impossible to impose another layer here that makes
> a specific set of tags into a single policy, but I’m not seeing
> that doing such adds a lot of value.

My thinking was that we have two user space components (TLS handshake
handler and the storage server stack) which are required to render
their decision in the language of tags, and upload the result
to the kernel via independent APIs. The policy ID limits the kernel
to mechanical enforcement. The components resolve all decisions in user
space, and give the kernel full list of policy ID -> allowed resources.

Could be purely a subjective preference, I won't insist. Tho an ack
from someone experienced with building kernel (security?) policies
would be awesome.

BTW someone marked the patches as changes requested, so repost will be
needed.



More information about the Linux-nvme mailing list