Files
android_kernel_xiaomi_sm8450/fs/nfsd
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
..
2014-07-08 17:14:27 -04:00
2018-09-25 20:34:54 -04:00
2018-08-09 16:11:21 -04:00
2018-09-25 20:34:54 -04:00
2018-09-25 20:34:54 -04:00
2018-08-09 16:11:21 -04:00
2018-09-25 20:34:54 -04:00
2018-04-03 15:08:15 -04:00
2018-09-25 20:34:54 -04:00
2018-09-25 20:34:54 -04:00