kernel_optimize_test/net/sunrpc/auth_gss
NeilBrown 97f68c6b02 SUNRPC: add 'struct cred *' to auth_cred and rpc_cred
The SUNRPC credential framework was put together before
Linux has 'struct cred'.  Now that we have it, it makes sense to
use it.
This first step just includes a suitable 'struct cred *' pointer
in every 'struct auth_cred' and almost every 'struct rpc_cred'.

The rpc_cred used for auth_null has a NULL 'struct cred *' as nothing
else really makes sense.

For rpc_cred, the pointer is reference counted.
For auth_cred it isn't.  struct auth_cred are either allocated on
the stack, in which case the thread owns a reference to the auth,
or are part of 'struct generic_cred' in which case gc_base owns the
reference, and "acred" shares it.

Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2018-12-19 13:52:44 -05:00
..
auth_gss.c SUNRPC: add 'struct cred *' to auth_cred and rpc_cred 2018-12-19 13:52:44 -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