FreeBSD Bugzilla – Attachment 160354 Details for
Bug 202659
rpcsec_gss has a 16-group limit
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for svc_rpcsec_gss to switch from RPCAUTH_UNIXGIDS to NGROUPS
svc_rpcsec_gss.c.patch (text/plain), 986 bytes, created by
Matthew L. Dailey
on 2015-08-25 18:36:26 UTC
(
hide
)
Description:
Patch for svc_rpcsec_gss to switch from RPCAUTH_UNIXGIDS to NGROUPS
Filename:
MIME Type:
Creator:
Matthew L. Dailey
Created:
2015-08-25 18:36:26 UTC
Size:
986 bytes
patch
obsolete
>--- svc_rpcsec_gss.c.orig 2015-08-12 10:22:16.000000000 -0400 >+++ svc_rpcsec_gss.c 2015-08-21 10:41:58.526663514 -0400 >@@ -121,9 +121,6 @@ > }; > > #define SVC_RPC_GSS_SEQWINDOW 128 >-#ifndef RPCAUTH_UNIXGIDS >-#define RPCAUTH_UNIXGIDS 16 >-#endif > > struct svc_rpc_gss_clientid { > unsigned long ci_hostid; >@@ -150,7 +147,7 @@ > int cl_rpcflavor; /* RPC pseudo sec flavor */ > bool_t cl_done_callback; /* TRUE after call */ > void *cl_cookie; /* user cookie from callback */ >- gid_t cl_gid_storage[RPCAUTH_UNIXGIDS]; >+ gid_t cl_gid_storage[NGROUPS]; > gss_OID cl_mech; /* mechanism */ > gss_qop_t cl_qop; /* quality of protection */ > uint32_t cl_seqlast; /* sequence window origin */ >@@ -776,7 +773,7 @@ > uc->gid = 65534; > uc->gidlist = client->cl_gid_storage; > >- numgroups = RPCAUTH_UNIXGIDS; >+ numgroups = NGROUPS; > maj_stat = gss_pname_to_unix_cred(&min_stat, name, client->cl_mech, > &uc->uid, &uc->gid, &numgroups, &uc->gidlist[0]); > if (GSS_ERROR(maj_stat))
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 202659
: 160354 |
160355