Home
last modified time | relevance | path

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

/external/chromium_org/sandbox/win/src/
Drestricted_token.cc286 TOKEN_PRIVILEGES *token_privileges = NULL; in DeleteAllPrivileges() local
297 token_privileges = reinterpret_cast<TOKEN_PRIVILEGES*>(new BYTE[size]); in DeleteAllPrivileges()
300 token_privileges, in DeleteAllPrivileges()
304 delete[] reinterpret_cast<BYTE *>(token_privileges); in DeleteAllPrivileges()
310 for (unsigned int i = 0; i < token_privileges->PrivilegeCount; ++i) { in DeleteAllPrivileges()
316 if (token_privileges->Privileges[i].Luid.HighPart == luid.HighPart && in DeleteAllPrivileges()
317 token_privileges->Privileges[i].Luid.LowPart == luid.LowPart) { in DeleteAllPrivileges()
324 privileges_to_disable_.push_back(token_privileges->Privileges[i].Luid); in DeleteAllPrivileges()
328 delete[] reinterpret_cast<BYTE *>(token_privileges); in DeleteAllPrivileges()