linux/net/sunrpc/auth_gss
NeilBrown 1a80810fbf SUNRPC: remove machine_cred field from struct auth_cred
The cred is a machine_cred iff ->principal is set, so there is no
need for the extra flag.

There is one case which deserves some
explanation. nfs4_root_machine_cred() calls rpc_lookup_machine_cred()
with a NULL principal name which results in not getting a machine
credential, but getting a root credential instead.
This appears to be what is expected of the caller, and is
clearly the result provided by both auth_unix and auth_gss
which already ignore the flag.

Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2018-12-19 13:52:45 -05:00
..
auth_gss.c SUNRPC: remove machine_cred field from struct auth_cred 2018-12-19 13:52:45 -05:00
gss_generic_token.c sunrpc: whitespace fixes 2018-07-31 12:53:40 -04:00
gss_krb5_crypto.c gss_krb5: Remove VLA usage of skcipher 2018-09-28 12:46:07 +08:00
gss_krb5_keys.c gss_krb5: Remove VLA usage of skcipher 2018-09-28 12:46:07 +08:00
gss_krb5_mech.c NFS client bugfixes for Linux 4.20 2018-11-04 08:20:09 -08:00
gss_krb5_seal.c SUNRPC: Use atomic(64)_t for seq_send(64) 2018-11-01 13:55:24 -04:00
gss_krb5_seqnum.c gss_krb5: Remove VLA usage of skcipher 2018-09-28 12:46:07 +08:00
gss_krb5_unseal.c sunrpc: whitespace fixes 2018-07-31 12:53:40 -04:00
gss_krb5_wrap.c NFS client bugfixes for Linux 4.20 2018-11-04 08:20:09 -08:00
gss_mech_switch.c SUNRPC: Lockless lookup of RPCSEC_GSS mechanisms 2018-09-30 15:35:17 -04:00
gss_rpc_upcall.c sunrpc: Extract target name into svc_cred 2018-08-22 18:32:07 -04:00
gss_rpc_upcall.h Merge branch 'nfs-for-next' of git://linux-nfs.org/~trondmy/nfs-2.6 into for-3.10 2013-04-29 16:23:34 -04:00
gss_rpc_xdr.c SUNRPC: Add a label for RPC calls that require allocation on receive 2018-09-30 15:35:16 -04:00
gss_rpc_xdr.h sunrpc/auth_gss: fix decoder callback prototypes 2017-07-13 15:57:55 -04:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
svcauth_gss.c SUNRPC: Lockless server RPCSEC_GSS context lookup 2018-10-29 16:58:04 -04:00