linux-stable/net/sunrpc
Chuck Lever bdb12fb157 SUNRPC: Add /proc/net/rpc/gss_krb5_enctypes file
I would like to replace the KRB5_SUPPORTED_ENCTYPES macro so that
there is finer granularity about what enctype support is built in
to the kernel and then advertised by it.

The /proc/fs/nfsd/supported_krb5_enctypes file is a legacy API
that advertises supported enctypes to rpc.svcgssd (I think?). It
simply prints the value of the KRB5_SUPPORTED_ENCTYPES macro, so it
will need to be replaced with something that can instead display
exactly which enctypes are configured and built into the SunRPC
layer.

Completely decommissioning such APIs is hard. Instead, add a file
that is managed by SunRPC's GSS Kerberos mechanism, which is
authoritative about enctype support status. A subsequent patch will
replace /proc/fs/nfsd/supported_krb5_enctypes with a symlink to this
new file.

Tested-by: Scott Mayhew <smayhew@redhat.com>
Reviewed-by: Simo Sorce <simo@redhat.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
2023-02-20 09:20:37 -05:00
..
auth_gss SUNRPC: Add /proc/net/rpc/gss_krb5_enctypes file 2023-02-20 09:20:37 -05:00
xprtrdma nfsd-6.2 fixes: 2023-01-10 15:03:06 -06:00
addr.c
auth_null.c
auth_unix.c
auth.c
backchannel_rqst.c
cache.c treewide: use get_random_u32_below() instead of deprecated function 2022-11-18 02:15:15 +01:00
clnt.c SUNRPC: Fix missing release socket in rpc_sockname() 2022-12-06 12:21:38 -05:00
debugfs.c
fail.h
Kconfig
Makefile
netns.h
rpc_pipe.c
rpcb_clnt.c
sched.c NFS Client Updates for Linux 6.1 2022-10-13 09:58:42 -07:00
socklib.c use less confusing names for iov_iter direction initializers 2022-11-25 13:01:55 -05:00
socklib.h
stats.c SUNRPC: Use per-CPU counters to tally server RPC counts 2023-02-20 09:20:32 -05:00
sunrpc_syms.c
sunrpc.h
svc_xprt.c SUNRPC: Replace pool stats with per-CPU variables 2023-02-20 09:20:32 -05:00
svc.c SUNRPC: Replace pool stats with per-CPU variables 2023-02-20 09:20:32 -05:00
svcauth_unix.c SUNRPC: Set rq_accept_statp inside ->accept methods 2023-02-20 09:20:31 -05:00
svcauth.c SUNRPC: Hoist init_decode out of svc_authenticate() 2023-02-20 09:20:19 -05:00
svcsock.c nfsd-6.2 fixes: 2023-01-10 15:03:06 -06:00
sysctl.c
sysfs.c kobject: make kobject_get_ownership() take a constant kobject * 2022-11-22 17:34:29 +01:00
sysfs.h
timer.c
xdr.c SUNRPC: Add XDR encoding helper for opaque_auth 2023-02-20 09:20:27 -05:00
xprt.c timers: Get rid of del_singleshot_timer_sync() 2022-11-24 15:09:10 +01:00
xprtmultipath.c
xprtsock.c Treewide: Stop corrupting socket's task_frag 2022-12-19 17:28:49 -08:00