Home
last modified time | relevance | path

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

/external/chromium_org/sandbox/win/src/
Drestricted_token.cc159 HANDLE restricted_token_handle; in GetRestrictedTokenHandleForImpersonation() local
160 unsigned err_code = GetRestrictedTokenHandle(&restricted_token_handle); in GetRestrictedTokenHandleForImpersonation()
165 if (!::DuplicateToken(restricted_token_handle, in GetRestrictedTokenHandleForImpersonation()
168 ::CloseHandle(restricted_token_handle); in GetRestrictedTokenHandleForImpersonation()
172 ::CloseHandle(restricted_token_handle); in GetRestrictedTokenHandleForImpersonation()
Drestricted_token_unittest.cc41 HANDLE restricted_token_handle = NULL; in TEST() local
43 token_default.GetRestrictedTokenHandle(&restricted_token_handle)); in TEST()
46 restricted_token.Attach(restricted_token_handle); in TEST()
83 HANDLE restricted_token_handle = NULL; in TEST() local
85 token.GetRestrictedTokenHandle(&restricted_token_handle)); in TEST()
88 restricted_token.Attach(restricted_token_handle); in TEST()