* 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:
Corinna Vinschen
2004-02-05 17:23:19 +00:00
parent 0d902e61d1
commit d82c6f474d
5 changed files with 62 additions and 48 deletions

View File

@ -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;