NFSD: Replace /proc/fs/nfsd/supported_krb5_enctypes with a symlink
authorChuck Lever <chuck.lever@oracle.com>
Sun, 15 Jan 2023 17:21:39 +0000 (12:21 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 20 Feb 2023 14:20:37 +0000 (09:20 -0500)
commit4df750c924f405fe773771add507117a80ae6203
tree2256621820ccaf7482ed2730697c8f268fafe667
parentbdb12fb157d8d6aea7becbe6eaacf6c7c9b73f5e
NFSD: Replace /proc/fs/nfsd/supported_krb5_enctypes with a symlink

Now that I've added a file under /proc/net/rpc that is managed by
the SunRPC's Kerberos mechanism, replace NFSD's
supported_krb5_enctypes file with a symlink to the new SunRPC proc
file, which contains exactly the same content.

Remarkably, commit b0b0c0a26e84 ("nfsd: add proc file listing
kernel's gss_krb5 enctypes") added the nfsd_supported_krb5_enctypes
file in 2011, but this file has never been documented in nfsd(7).

Tested-by: Scott Mayhew <smayhew@redhat.com>
Reviewed-by: Simo Sorce <simo@redhat.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfsctl.c