source:
branches/fc11-dev/server/common/patches/openafs-delta-linux26-defer-cred-changing-20090511.patch
@
1251
Last change on this file since 1251 was 1189, checked in by mitchb, 16 years ago | |
---|---|
File size: 588 bytes |
-
openafs-1.4.10/src/afs/LINUX/osi_cred.c
old new 104 104 #if defined(STRUCT_TASK_HAS_CRED) 105 105 struct cred *new_creds; 106 106 107 /* If our current task doesn't have identical real and effective 108 * credentials, commit_cred won't let us change them, so we just 109 * bail here. 110 */ 111 if (current->cred != current->real_cred) 112 return; 107 113 new_creds = prepare_creds(); 108 114 new_creds->fsuid = cr->cr_uid; 109 115 new_creds->uid = cr->cr_ruid;
Note: See TracBrowser
for help on using the repository browser.