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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Mon, 11 May 2009 11:14:42 EDT


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

Modified Files:
      Tag: openafs-stable-1_4_10_1-branch
	osi_cred.c 
Log Message:
DELTA STABLE14101-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-stable-1_4_10_1-branch follows ---
STABLE14101-linux26-defer-cred-changing-20090511 openafs/src/afs/LINUX/osi_cred.c 1.10.2.4.2.1 1.10.2.4.2.2