AFS_GUNLOCK();
crfree(cr);
if (code)
-#if (__FreeBSD_version >= 900044)
return sys_setgroups(td, uap); /* afs has shut down */
-#else
- return setgroups(td, uap); /* afs has shut down */
-#endif
-#if (__FreeBSD_version >= 900044)
code = sys_setgroups(td, uap);
-#else
- code = setgroups(td, uap);
-#endif
/* Note that if there is a pag already in the new groups we don't
* overwrite it with the old pag.
*/
setpag(struct thread *td, struct ucred **cred, afs_uint32 pagvalue,
afs_uint32 * newpag, int change_parent)
{
-#if defined(AFS_FBSD81_ENV)
gid_t *gidset;
int gidset_len = ngroups_max + 1;
-#else
- gid_t *gidset;
- int gidset_len = NGROUPS; /* 1024 */
-#endif
int ngroups, code;
int j;