]> git.michaelhowe.org Git - packages/o/openafs.git/commit
AIX51: Fix PAGs
authorAndrew Deason <adeason@sinenomine.net>
Fri, 15 Apr 2011 16:18:37 +0000 (11:18 -0500)
committerDerrick Brashear <shadow@dementia.org>
Tue, 26 Apr 2011 04:47:57 +0000 (21:47 -0700)
commitd0edfe441bac4b802b2957bfb331ad04417a2acb
tree212ca91efdc454198a952fb61d228c92fe5d4406
parentb6a4792b84bae661128dfa245cba541a7b9837d9
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: Ifbc2602cfa9f32bf5d9b53b71fc67fe0761394ea
Reviewed-on: http://gerrit.openafs.org/4479
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Reviewed-on: http://gerrit.openafs.org/4503
src/afs/afs_osi_pag.c