Lines Matching refs:impersonation_token_sid
59 globals->impersonation_token_sid = NULL; in tsrm_win32_ctor()
85 if (globals->impersonation_token_sid) { in tsrm_win32_dtor()
86 free(globals->impersonation_token_sid); in tsrm_win32_dtor()
108 PSID pSid = TWG(impersonation_token_sid); in tsrm_win32_get_path_sid_key()
259 if (TWG(impersonation_token_sid)) { in tsrm_win32_access()
260 free(TWG(impersonation_token_sid)); in tsrm_win32_access()
262 TWG(impersonation_token_sid) = NULL; in tsrm_win32_access()
267 if (!TWG(impersonation_token_sid) || !EqualSid(token_sid, TWG(impersonation_token_sid))) { in tsrm_win32_access()
268 if (TWG(impersonation_token_sid)) { in tsrm_win32_access()
269 free(TWG(impersonation_token_sid)); in tsrm_win32_access()
271 TWG(impersonation_token_sid) = token_sid; in tsrm_win32_access()