Lines Matching refs:impersonation_token_sid
63 globals->impersonation_token_sid = NULL; in tsrm_win32_ctor()
89 if (globals->impersonation_token_sid) { in tsrm_win32_dtor()
90 free(globals->impersonation_token_sid); in tsrm_win32_dtor()
112 PSID pSid = TWG(impersonation_token_sid); in tsrm_win32_get_path_sid_key()
273 if (TWG(impersonation_token_sid)) { in tsrm_win32_access()
274 free(TWG(impersonation_token_sid)); in tsrm_win32_access()
276 TWG(impersonation_token_sid) = NULL; in tsrm_win32_access()
281 if (!TWG(impersonation_token_sid) || !EqualSid(token_sid, TWG(impersonation_token_sid))) { in tsrm_win32_access()
282 if (TWG(impersonation_token_sid)) { in tsrm_win32_access()
283 free(TWG(impersonation_token_sid)); in tsrm_win32_access()
285 TWG(impersonation_token_sid) = token_sid; in tsrm_win32_access()