Change r355157 to make svc_rpc_gss_lifetime_max a static.
MFC after: 2 weeks
This commit is contained in:
parent
04cb0c38eb
commit
841c3621b4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=355161
@ -173,7 +173,6 @@ struct svc_rpc_gss_cookedcred {
|
||||
#define CLIENT_MAX 1024
|
||||
u_int svc_rpc_gss_client_max = CLIENT_MAX;
|
||||
u_int svc_rpc_gss_client_hash_size = CLIENT_HASH_SIZE;
|
||||
u_int svc_rpc_gss_lifetime_max = 0;
|
||||
|
||||
SYSCTL_NODE(_kern, OID_AUTO, rpc, CTLFLAG_RW, 0, "RPC");
|
||||
SYSCTL_NODE(_kern_rpc, OID_AUTO, gss, CTLFLAG_RW, 0, "GSS");
|
||||
@ -186,6 +185,7 @@ SYSCTL_UINT(_kern_rpc_gss, OID_AUTO, client_hash, CTLFLAG_RDTUN,
|
||||
&svc_rpc_gss_client_hash_size, 0,
|
||||
"Size of rpc-gss client hash table");
|
||||
|
||||
static u_int svc_rpc_gss_lifetime_max = 0;
|
||||
SYSCTL_UINT(_kern_rpc_gss, OID_AUTO, lifetime_max, CTLFLAG_RW,
|
||||
&svc_rpc_gss_lifetime_max, 0,
|
||||
"Maximum lifetime (seconds) of rpc-gss clients");
|
||||
|
Loading…
Reference in New Issue
Block a user