Home
last modified time | relevance | path

Searched refs:thread_token (Results 1 – 1 of 1) sorted by relevance

/PHP-8.1/TSRM/
H A Dtsrm_win32.c195 HANDLE thread_token = NULL; in tsrm_win32_access() local
239 if(!OpenThreadToken(GetCurrentThread(), TOKEN_ALL_ACCESS, TRUE, &thread_token)) { in tsrm_win32_access()
241 if (!OpenProcessToken(GetCurrentProcess(), TOKEN_ALL_ACCESS, &thread_token)) { in tsrm_win32_access()
249 token_sid = tsrm_win32_get_token_sid(thread_token); in tsrm_win32_access()
266 if (!DuplicateToken(thread_token, SecurityImpersonation, &TWG(impersonation_token))) { in tsrm_win32_access()
360 if(thread_token != NULL) { in tsrm_win32_access()
361 CloseHandle(thread_token); in tsrm_win32_access()
461 HANDLE thread_token = NULL; in popen_ex() local
540 if(OpenThreadToken(GetCurrentThread(), TOKEN_ALL_ACCESS, TRUE, &thread_token)) { in popen_ex()
541 …DuplicateTokenEx(thread_token, MAXIMUM_ALLOWED, &security, SecurityImpersonation, TokenPrimary, &t… in popen_ex()

Completed in 7 milliseconds