]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Make ktc_curpag also detect ONEGROUP PAG gids
authorAndrew Deason <adeason@sinenomine.net>
Wed, 11 Nov 2009 17:23:49 +0000 (11:23 -0600)
committerDerrick Brashear <shadow|account-1000005@unknown>
Thu, 19 Nov 2009 18:57:29 +0000 (10:57 -0800)
commitc9f7fe37d366e1529c50b4d86caa3b99cd1d005b
tree3409c0f76afb3a71870518af3a433d14732c5080
parentad6dabdcc5b04f907c08213e46f346785e67a139
Make ktc_curpag also detect ONEGROUP PAG gids

ktc_curpag falls back to looking at the group list if the VIOC_GETPAG
pioctl fails. If we're in AFS_LINUX26_ONEGROUP_ENV in the kernel,
though, ktc_curpag still looks for two groups, instead of the one
combined group. Add a check for the big one group in the fallback if
we're on LINUX26.

Reviewed-on: http://gerrit.openafs.org/815
Tested-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Marc Dionne <marc.c.dionne@gmail.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit c53abbb3e8d14643f3f82999cbe24fb12d358ce0)

Change-Id: I771d90546b1aec9f3e84a56a5b6a465e18b1241a
Reviewed-on: http://gerrit.openafs.org/853
Tested-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/auth/ktc.c