OpenAFS CVS Commit: openafs/src/afs/LINUX by shadow

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Mon, 11 May 2009 10:16:28 EDT


Update of /cvs/openafs/src/afs/LINUX
In directory GRAND.CENTRAL.ORG:/data/sb/openafs-devel-1_5_x/src/afs/LINUX

Modified Files:
      Tag: openafs-devel-1_5_x
	osi_cred.c 
Log Message:
DELTA DEVEL15-linux26-defer-cred-changing-20090511
AUTHOR sxw@inf.ed.ac.uk
LICENSE IPL10
FIXES 124737

Newer Linux kernels differentiate between the real and effective
credentials of a process, and prevent a process's credentials from being 
change when the effective credentials have been set to a different value.
When AFS notices a keyring PAG exists but no group-based PAG does, the
attempt to rectify this, if done in a VFS call (which changes effective creds)
triggers this issue. We defer the change to the groups to avoid it.


--- DELTA config for openafs-devel-1_5_x follows ---
DEVEL15-linux26-defer-cred-changing-20090511 openafs/src/afs/LINUX/osi_cred.c 1.12.6.2 1.12.6.3