mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +00:00
STABLE14-no-default-setuid-20070319
FIXES 54713 disable default setuid for localcell (cherry picked from commit c4183dbc1fb0e3d4db5105fe3312816fc82a7a33)
This commit is contained in:
parent
e3f9d9a1de
commit
bed7e986cb
@ -708,8 +708,7 @@ afs_NewCell(char *acellName, afs_int32 * acellHosts, int aflags,
|
||||
tc->vlport = AFS_VLPORT;
|
||||
RWLOCK_INIT(&tc->lock, "cell lock");
|
||||
newc = 1;
|
||||
if (afs_thiscell && !strcmp(acellName, afs_thiscell))
|
||||
aflags &= ~CNoSUID;
|
||||
aflags |= CNoSUID;
|
||||
}
|
||||
ObtainWriteLock(&tc->lock, 688);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user