opnsense-src/sys/kgssapi
Gleb Smirnoff b5f4d40951 kgss: de-virtualize kgss_gssd_handle
The RPC client is more of a class rather than an instance.  RPCs from
different VNETs are served by the same client.  This makes the kgss layer
fully transparent to VIMAGE and not even required to be aware of it.

It is responsibility of the rpcsec_gss module to have curvnet set on the
calling thread when doing RPC calls via kgssapi.

This change should enable proper operation of an NFS server with gssd(8)
in a VIMAGE jail.

PR:			294501
Reviewed by:		rmacklem
Differential Revision:	https://reviews.freebsd.org/D56562

(cherry picked from commit 4602d45eb3b1d33e0ea0d97c4d18033af95d7fca)
2026-04-27 09:11:51 -07:00
..
krb5 kgssapi: Fix the kgssapi so that it can use MIT Kerberos 2025-08-07 14:02:32 -07:00
gss_accept_sec_context.c kgssapi: Fix the kgssapi so that it can use MIT Kerberos 2025-08-07 14:02:32 -07:00
gss_acquire_cred.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
gss_add_oid_set_member.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
gss_canonicalize_name.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
gss_create_empty_oid_set.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
gss_delete_sec_context.c kgss: remove unnecessary CURVNET_SET() and kgss_gssd_handle checks 2026-04-27 09:11:51 -07:00
gss_display_status.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
gss_export_name.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
gss_get_mic.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
gss_impl.c kgss: de-virtualize kgss_gssd_handle 2026-04-27 09:11:51 -07:00
gss_import_name.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
gss_init_sec_context.c kgssapi: Fix the kgssapi so that it can use MIT Kerberos 2025-08-07 14:02:32 -07:00
gss_ip_to_dns.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
gss_names.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
gss_pname_to_uid.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
gss_release_buffer.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
gss_release_cred.c kgss: remove unnecessary CURVNET_SET() and kgss_gssd_handle checks 2026-04-27 09:11:51 -07:00
gss_release_name.c kgss: remove unnecessary CURVNET_SET() and kgss_gssd_handle checks 2026-04-27 09:11:51 -07:00
gss_release_oid_set.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
gss_set_cred_option.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
gss_test_oid_set_member.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
gss_unwrap.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
gss_verify_mic.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
gss_wrap.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
gss_wrap_size_limit.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
gssapi.h kgssapi: Fix the kgssapi so that it can use MIT Kerberos 2025-08-07 14:02:32 -07:00
gssapi_impl.h kgss: remove KGSS_VNET_* macros family 2026-04-27 09:11:51 -07:00
gssd.x kgssapi: Fix the kgssapi so that it can use MIT Kerberos 2025-08-07 14:02:32 -07:00
gssd_prot.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
kgss_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00