* security.h (SID): New macro.
(well_known_*_sid): Change type to cygpsid. (cygsid::init): Delete declaration. * sec_helper.cc (well_known_*_sid): Define using above SID macro. (cygsid::init): Delete. * dcrt0.cc (dll_crt0_0): Do not call cygsid::init. * security.cc (get_user_local_groups): Change the second argument type to cygpsid.
This commit is contained in:
@ -425,7 +425,7 @@ get_user_local_groups (cygsidlist &grp_list, PSID pusersid)
|
||||
}
|
||||
|
||||
static bool
|
||||
sid_in_token_groups (PTOKEN_GROUPS grps, cygsid &sid)
|
||||
sid_in_token_groups (PTOKEN_GROUPS grps, cygpsid sid)
|
||||
{
|
||||
if (!grps)
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user