auth.c (4f2c0a4acffbec01079c28f839422e64ddeff004) | auth.c (120726526e5ee3dfac11bd417e266a7e411f3315) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * linux/net/sunrpc/auth.c 4 * 5 * Generic RPC client authentication API. 6 * 7 * Copyright (C) 1996, Olaf Kirch <okir@monad.swb.de> 8 */ --- 18 unchanged lines hidden (view full) --- 27 spinlock_t lock; 28}; 29 30static unsigned int auth_hashbits = RPC_CREDCACHE_DEFAULT_HASHBITS; 31 32static const struct rpc_authops __rcu *auth_flavors[RPC_AUTH_MAXFLAVOR] = { 33 [RPC_AUTH_NULL] = (const struct rpc_authops __force __rcu *)&authnull_ops, 34 [RPC_AUTH_UNIX] = (const struct rpc_authops __force __rcu *)&authunix_ops, | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * linux/net/sunrpc/auth.c 4 * 5 * Generic RPC client authentication API. 6 * 7 * Copyright (C) 1996, Olaf Kirch <okir@monad.swb.de> 8 */ --- 18 unchanged lines hidden (view full) --- 27 spinlock_t lock; 28}; 29 30static unsigned int auth_hashbits = RPC_CREDCACHE_DEFAULT_HASHBITS; 31 32static const struct rpc_authops __rcu *auth_flavors[RPC_AUTH_MAXFLAVOR] = { 33 [RPC_AUTH_NULL] = (const struct rpc_authops __force __rcu *)&authnull_ops, 34 [RPC_AUTH_UNIX] = (const struct rpc_authops __force __rcu *)&authunix_ops, |
35 NULL, /* others can be loadable modules */ | 35 [RPC_AUTH_TLS] = (const struct rpc_authops __force __rcu *)&authtls_ops, |
36}; 37 38static LIST_HEAD(cred_unused); 39static unsigned long number_cred_unused; 40 41static struct cred machine_cred = { 42 .usage = ATOMIC_INIT(1), 43#ifdef CONFIG_DEBUG_CREDENTIALS --- 848 unchanged lines hidden --- | 36}; 37 38static LIST_HEAD(cred_unused); 39static unsigned long number_cred_unused; 40 41static struct cred machine_cred = { 42 .usage = ATOMIC_INIT(1), 43#ifdef CONFIG_DEBUG_CREDENTIALS --- 848 unchanged lines hidden --- |