Lines Matching refs:impersonation_token_sid
60 globals->impersonation_token_sid = NULL; in tsrm_win32_ctor()
84 if (globals->impersonation_token_sid) { in tsrm_win32_dtor()
85 free(globals->impersonation_token_sid); in tsrm_win32_dtor()
107 PSID pSid = TWG(impersonation_token_sid); in tsrm_win32_get_path_sid_key()
249 if (TWG(impersonation_token_sid)) { in tsrm_win32_access()
250 free(TWG(impersonation_token_sid)); in tsrm_win32_access()
252 TWG(impersonation_token_sid) = NULL; in tsrm_win32_access()
257 if (!TWG(impersonation_token_sid) || !EqualSid(token_sid, TWG(impersonation_token_sid))) { in tsrm_win32_access()
258 if (TWG(impersonation_token_sid)) { in tsrm_win32_access()
259 free(TWG(impersonation_token_sid)); in tsrm_win32_access()
261 TWG(impersonation_token_sid) = token_sid; in tsrm_win32_access()