freebsd-dev/sys/kgssapi
Rick Macklem ed03776ca7 nfsd: Enable the NFSD_VNET vnet front end macros
Several commits have added front end macros for the vnet
macros to the NFS server, krpc and kgssapi.  These macros
are now null, but this patch changes them to front end
the vnet macros.

With this commit, many global variables in the code become
vnet'd, so that nfsd(8), nfsuserd(8), rpc.tlsservd(8) and
gssd(8) can run in a vnet prison, once enabled.
To run the NFS server in a vnet prison still requires a
couple of patches (in D37741 and D38371) that allow mountd(8)
to export file systems from within a vnet prison.  Once
these are committed to main, a small patch to kern_jail.c
allowing "allow.nfsd" without VNET_NFSD defined will allow
the NFS server to run in a vnet prison.

One area that still needs to be settled is cleanup when a
prison is removed.  Without this, everything should work
except there will be a leak of malloc'd data and mutex locks
when a vnet prison is removed.

MFC after:	3 months
2023-02-18 14:59:36 -08:00
..
krb5 kgssapi krb5: Remove unused variables. 2022-04-06 16:45:29 -07:00
gss_accept_sec_context.c
gss_acquire_cred.c
gss_add_oid_set_member.c
gss_canonicalize_name.c kgssapi: clean up empty lines in .c and .h files 2020-09-01 22:15:02 +00:00
gss_create_empty_oid_set.c
gss_delete_sec_context.c kgssapi: Add macros so that gssd(8) can run in vnet prison 2023-02-15 15:18:46 -08:00
gss_display_status.c kgssapi: clean up empty lines in .c and .h files 2020-09-01 22:15:02 +00:00
gss_export_name.c
gss_get_mic.c kgssapi: clean up empty lines in .c and .h files 2020-09-01 22:15:02 +00:00
gss_impl.c kgssapi: Add macros so that gssd(8) can run in vnet prison 2023-02-15 15:18:46 -08:00
gss_import_name.c kgssapi: clean up empty lines in .c and .h files 2020-09-01 22:15:02 +00:00
gss_init_sec_context.c
gss_names.c kgssapi: clean up empty lines in .c and .h files 2020-09-01 22:15:02 +00:00
gss_pname_to_uid.c
gss_release_buffer.c kgssapi: clean up empty lines in .c and .h files 2020-09-01 22:15:02 +00:00
gss_release_cred.c kgssapi: Add macros so that gssd(8) can run in vnet prison 2023-02-15 15:18:46 -08:00
gss_release_name.c kgssapi: Add macros so that gssd(8) can run in vnet prison 2023-02-15 15:18:46 -08:00
gss_release_oid_set.c
gss_set_cred_option.c
gss_test_oid_set_member.c
gss_unwrap.c kgssapi: clean up empty lines in .c and .h files 2020-09-01 22:15:02 +00:00
gss_verify_mic.c kgssapi: clean up empty lines in .c and .h files 2020-09-01 22:15:02 +00:00
gss_wrap_size_limit.c
gss_wrap.c
gssapi_impl.h nfsd: Enable the NFSD_VNET vnet front end macros 2023-02-18 14:59:36 -08:00
gssapi.h kgssapi: clean up empty lines in .c and .h files 2020-09-01 22:15:02 +00:00
gssd_prot.c
gssd.x
gsstest.c kgssapi: clean up empty lines in .c and .h files 2020-09-01 22:15:02 +00:00
kgss_if.m