Home
last modified time | relevance | path

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

/external/chromium_org/sandbox/win/src/
Dacl.cc40 ACCESS_MASK access, ACL** new_dacl) { in AddSidToDacl() argument
52 if (ERROR_SUCCESS != ::SetEntriesInAcl(1, &new_access, old_dacl, new_dacl)) in AddSidToDacl()
66 ACL* new_dacl = NULL; in AddSidToDefaultDacl() local
68 &new_dacl)) in AddSidToDefaultDacl()
72 new_token_dacl.DefaultDacl = new_dacl; in AddSidToDefaultDacl()
76 ::LocalFree(new_dacl); in AddSidToDefaultDacl()
99 PACL new_dacl = NULL; in AddKnownSidToObject() local
106 if (!AddSidToDacl(sid.GetPSID(), old_dacl, access_mode, access, &new_dacl)) { in AddKnownSidToObject()
113 new_dacl, NULL); in AddKnownSidToObject()
115 ::LocalFree(new_dacl); in AddKnownSidToObject()
Dapp_container_test.cc55 CDacl new_dacl; in CreateTaggedEvent() local
56 sd.GetDacl(&new_dacl); in CreateTaggedEvent()
58 new_dacl.AddAllowedAce(csid, EVENT_ALL_ACCESS); in CreateTaggedEvent()
59 if (!AtlSetDacl(event.Get(), SE_KERNEL_OBJECT, new_dacl)) in CreateTaggedEvent()
Dacl.h24 ACCESS_MASK access, ACL** new_dacl);
/external/chromium_org/rlz/win/lib/
Drlz_lib_win.cc158 ACL* new_dacl = NULL; in CreateMachineState() local
159 result = SetEntriesInAcl(1, &ea, dacl, &new_dacl); in CreateMachineState()
165 BOOL ok = SetSecurityDescriptorDacl(new_sd, TRUE, new_dacl, FALSE); in CreateMachineState()
169 LocalFree(new_dacl); in CreateMachineState()
178 LocalFree(new_dacl); in CreateMachineState()
/external/chromium_org/base/test/
Dtest_file_util_win.cc52 PACL new_dacl; in DenyFilePermission() local
53 if (SetEntriesInAcl(1, &change, old_dacl, &new_dacl) != ERROR_SUCCESS) { in DenyFilePermission()
60 NULL, NULL, new_dacl, NULL); in DenyFilePermission()
62 LocalFree(new_dacl); in DenyFilePermission()
/external/chromium/base/
Dfile_util.h602 PACL new_dacl; in MakeFileUnreadable()
603 if (SetEntriesInAcl(1, &change, old_dacl, &new_dacl) != ERROR_SUCCESS) { in MakeFileUnreadable()
610 NULL, NULL, new_dacl, NULL); in MakeFileUnreadable()
612 LocalFree(new_dacl); in MakeFileUnreadable()
/external/chromium/base/files/
Dfile_path_watcher_browsertest.cc562 PACL new_dacl; in ChangeFilePermissions()
563 if (SetEntriesInAcl(1, &change, old_dacl, &new_dacl) != ERROR_SUCCESS) { in ChangeFilePermissions()
570 NULL, NULL, new_dacl, NULL); in ChangeFilePermissions()
572 LocalFree(new_dacl); in ChangeFilePermissions()
/external/chromium_org/chrome_frame/
Dchrome_tab.cc674 CDacl new_dacl; in RegisterSecuredMimeHandler() local
675 sd.GetDacl(&new_dacl); in RegisterSecuredMimeHandler()
676 new_dacl.AddAllowedAce(token_.GetUser(), GENERIC_WRITE | GENERIC_READ); in RegisterSecuredMimeHandler()
677 if (AtlSetDacl(object_name.c_str(), SE_REGISTRY_KEY, new_dacl)) { in RegisterSecuredMimeHandler()