]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
linux-gcpags-deal-correctly-with-uid-tokens-20030508
authorDerrick Brashear <shadow@dementia.org>
Thu, 8 May 2003 19:53:48 +0000 (19:53 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 8 May 2003 19:53:48 +0000 (19:53 +0000)
look at the correct uid, so we don't gc in use tokens

src/afs/afs_user.c

index d456bdaf0df7e75fc89867c596b423ea7ff5c80d..3889647e66df657ac6f33e82930e04cd1153a8da 100644 (file)
@@ -587,7 +587,7 @@ void afs_GCPAGs_perproc_func(AFS_PROC *pproc)
     afs_GCPAGs_cred_count++;
 
     pag = PagInCred(pcred);
-#if defined(AFS_DARWIN_ENV) || defined(AFS_FBSD40_ENV)
+#if defined(AFS_DARWIN_ENV) || defined(AFS_FBSD40_ENV) || defined(AFS_LINUX22_ENV)
     uid = (pag != NOPAG ? pag : pcred->cr_uid);
 #else
     uid = (pag != NOPAG ? pag : pcred->cr_ruid);