CREDGRPSZ
size_t sz = CREDGRPSZ(n);
kmem_free(grps, CREDGRPSZ(grps->crg_ngroups));
cr->cr_grps = kmem_alloc(CREDGRPSZ(n), KM_SLEEP);