Searched refs:pAcl (Results 1 – 1 of 1) sorted by relevance
314 PACL pAcl = 0; in alloc_own_security_descriptor_NT() local339 pAcl = (PACL) malloc_alloc_p(size); in alloc_own_security_descriptor_NT()340 if (!pAcl) status = GetLastError(); in alloc_own_security_descriptor_NT()344 if (!InitializeAcl(pAcl, size, ACL_REVISION)) status = GetLastError(); in alloc_own_security_descriptor_NT()348 if (!AddAccessAllowedAce(pAcl, ACL_REVISION, GENERIC_ALL, pSid)) status = GetLastError(); in alloc_own_security_descriptor_NT()357 if (!SetSecurityDescriptorDacl(&sd, TRUE, pAcl, FALSE)) status = GetLastError(); in alloc_own_security_descriptor_NT()388 if (pAcl) free_alloc_p(&pAcl); in alloc_own_security_descriptor_NT()