AIX51: Fix PAGs
authorAndrew Deason <adeason@sinenomine.net>
Fri, 15 Apr 2011 16:18:37 +0000 (11:18 -0500)
committerDerrick Brashear <shadow@dementia.org>
Fri, 15 Apr 2011 21:28:54 +0000 (14:28 -0700)
commit27d08416afa2bbd9967d0f0648fa1e98ddbeda11
treefec00d8fe8adf9cbe117c4ff4b8179148aa7be2e
parent6c0d77b90525116ea5f6c4f71d663290eb63490b
AIX51: Fix PAGs

On AIX 5.1 and later, we set a process' PAG by using the AIX PAG
mechanism (and not by group ids), but we were determining what PAG a
process was in by the group list. Instead use the PAG identifier.

This effectively reverts 277c37f48c8126ba9cb986ffc7361fcb98e2bbf2, but
it puts the kcred_getpag call in a different place that makes more
sense in the current PAG code organization.

Change-Id: If9fe621060a06664718a00acff91dea66760d5c2
Reviewed-on: http://gerrit.openafs.org/4479
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/afs/afs_osi_pag.c