* fhandler_tape.cc (get_ll): This is a generally useful function so move it
* winsup.h (get_ll): to here * security.cc (get_token_group_sidlist): Use get_ll to figure out the long long version of the luid since QuadPart is not part of the standard Windows API.
This commit is contained in:
@ -534,7 +534,7 @@ get_token_group_sidlist (cygsidlist &grp_list, PTOKEN_GROUPS my_grps,
|
||||
grp_list += well_known_local_sid;
|
||||
grp_list += well_known_interactive_sid;
|
||||
}
|
||||
if (auth_luid.QuadPart != 999) /* != SYSTEM_LUID */
|
||||
if (get_ll (auth_luid) != 999LL) /* != SYSTEM_LUID */
|
||||
{
|
||||
char buf[64];
|
||||
__small_sprintf (buf, "S-1-5-5-%u-%u", auth_luid.HighPart,
|
||||
|
Reference in New Issue
Block a user