/external/chromium_org/sandbox/win/src/ |
D | interceptors_64.cc | 54 HANDLE thread, ACCESS_MASK desired_access, BOOLEAN open_as_self, in TargetNtOpenThreadToken64() argument 58 return TargetNtOpenThreadToken(orig_fn, thread, desired_access, open_as_self, in TargetNtOpenThreadToken64() 63 HANDLE thread, ACCESS_MASK desired_access, BOOLEAN open_as_self, in TargetNtOpenThreadTokenEx64() argument 67 return TargetNtOpenThreadTokenEx(orig_fn, thread, desired_access, in TargetNtOpenThreadTokenEx64() 91 PHANDLE file, ACCESS_MASK desired_access, in TargetNtCreateFile64() argument 97 return TargetNtCreateFile(orig_fn, file, desired_access, object_attributes, in TargetNtCreateFile64() 104 PHANDLE file, ACCESS_MASK desired_access, in TargetNtOpenFile64() argument 109 return TargetNtOpenFile(orig_fn, file, desired_access, object_attributes, in TargetNtOpenFile64() 157 PHANDLE thread, ACCESS_MASK desired_access, in TargetNtOpenThread64() argument 161 return TargetNtOpenThread(orig_fn, thread, desired_access, object_attributes, in TargetNtOpenThread64() [all …]
|
D | registry_interception.cc | 17 PHANDLE key, ACCESS_MASK desired_access, in TargetNtCreateKey() argument 22 NTSTATUS status = orig_CreateKey(key, desired_access, object_attributes, in TargetNtCreateKey() 63 root_directory, desired_access, title_index, in TargetNtCreateKey() 96 ACCESS_MASK desired_access, in CommonNtOpenKey() argument 121 root_directory, desired_access, &answer); in CommonNtOpenKey() 149 ACCESS_MASK desired_access, in TargetNtOpenKey() argument 152 NTSTATUS status = orig_OpenKey(key, desired_access, object_attributes); in TargetNtOpenKey() 156 return CommonNtOpenKey(status, key, desired_access, object_attributes); in TargetNtOpenKey() 160 PHANDLE key, ACCESS_MASK desired_access, in TargetNtOpenKeyEx() argument 164 NTSTATUS status = orig_OpenKeyEx(key, desired_access, object_attributes, in TargetNtOpenKeyEx() [all …]
|
D | interceptors_64.h | 39 HANDLE thread, ACCESS_MASK desired_access, BOOLEAN open_as_self, 44 HANDLE thread, ACCESS_MASK desired_access, BOOLEAN open_as_self, 61 PHANDLE file, ACCESS_MASK desired_access, 68 PHANDLE file, ACCESS_MASK desired_access, 101 PHANDLE thread, ACCESS_MASK desired_access, 106 PHANDLE process, ACCESS_MASK desired_access, 111 HANDLE process, ACCESS_MASK desired_access, PHANDLE token); 115 HANDLE process, ACCESS_MASK desired_access, ULONG handle_attributes, 139 PHANDLE key, ACCESS_MASK desired_access, 145 PHANDLE key, ACCESS_MASK desired_access, [all …]
|
D | registry_policy.cc | 55 ACCESS_MASK desired_access, in NtCreateKeyInTarget() argument 65 if (MAXIMUM_ALLOWED & desired_access) { in NtCreateKeyInTarget() 66 NTSTATUS status = TranslateMaximumAllowed(obj_attributes, &desired_access); in NtCreateKeyInTarget() 72 NTSTATUS status = NtCreateKey(&local_handle, desired_access, obj_attributes, in NtCreateKeyInTarget() 87 ACCESS_MASK desired_access, in NtOpenKeyInTarget() argument 93 if (MAXIMUM_ALLOWED & desired_access) { in NtOpenKeyInTarget() 94 NTSTATUS status = TranslateMaximumAllowed(obj_attributes, &desired_access); in NtOpenKeyInTarget() 100 NTSTATUS status = NtOpenKey(&local_handle, desired_access, obj_attributes); in NtOpenKeyInTarget() 172 uint32 desired_access, in CreateKeyAction() argument 195 *nt_status = NtCreateKeyInTarget(handle, desired_access, &obj_attributes, in CreateKeyAction() [all …]
|
D | sync_interception.cc | 36 ACCESS_MASK desired_access, in ProxyOpenEvent() argument 41 params[OpenEventParams::ACCESS] = ParamPickerMake(desired_access); in ProxyOpenEvent() 47 ResultCode code = CrossCall(ipc, IPC_OPENEVENT_TAG, name, desired_access, in ProxyOpenEvent() 55 ACCESS_MASK desired_access, in TargetNtCreateEvent() argument 59 NTSTATUS status = orig_CreateEvent(event_handle, desired_access, in TargetNtCreateEvent() 111 ACCESS_MASK desired_access, in TargetNtOpenEvent() argument 113 NTSTATUS status = orig_OpenEvent(event_handle, desired_access, in TargetNtOpenEvent() 143 ResultCode code = ProxyOpenEvent(name, desired_access, memory, &answer); in TargetNtOpenEvent()
|
D | process_thread_interception.cc | 23 PHANDLE thread, ACCESS_MASK desired_access, in TargetNtOpenThread() argument 26 NTSTATUS status = orig_OpenThread(thread, desired_access, object_attributes, in TargetNtOpenThread() 73 ResultCode code = CrossCall(ipc, IPC_NTOPENTHREAD_TAG, desired_access, in TargetNtOpenThread() 105 PHANDLE process, ACCESS_MASK desired_access, in TargetNtOpenProcess() argument 108 NTSTATUS status = orig_OpenProcess(process, desired_access, object_attributes, in TargetNtOpenProcess() 151 ResultCode code = CrossCall(ipc, IPC_NTOPENPROCESS_TAG, desired_access, in TargetNtOpenProcess() 175 ACCESS_MASK desired_access, PHANDLE token) { in TargetNtOpenProcessToken() argument 176 NTSTATUS status = orig_OpenProcessToken(process, desired_access, token); in TargetNtOpenProcessToken() 197 desired_access, &answer); in TargetNtOpenProcessToken() 219 ACCESS_MASK desired_access, ULONG handle_attributes, PHANDLE token) { in TargetNtOpenProcessTokenEx() argument [all …]
|
D | process_thread_dispatcher.h | 26 bool NtOpenThread(IPCInfo* ipc, DWORD desired_access, DWORD thread_id); 29 bool NtOpenProcess(IPCInfo* ipc, DWORD desired_access, DWORD process_id); 32 bool NtOpenProcessToken(IPCInfo* ipc, HANDLE process, DWORD desired_access); 35 bool NtOpenProcessTokenEx(IPCInfo* ipc, HANDLE process, DWORD desired_access,
|
D | process_thread_dispatcher.cc | 158 bool ThreadProcessDispatcher::NtOpenThread(IPCInfo* ipc, DWORD desired_access, in NtOpenThread() argument 162 desired_access, thread_id, in NtOpenThread() 169 bool ThreadProcessDispatcher::NtOpenProcess(IPCInfo* ipc, DWORD desired_access, in NtOpenProcess() argument 173 desired_access, process_id, in NtOpenProcess() 181 DWORD desired_access) { in NtOpenProcessToken() argument 184 process, desired_access, in NtOpenProcessToken() 192 DWORD desired_access, in NtOpenProcessTokenEx() argument 197 desired_access, in NtOpenProcessTokenEx()
|
D | process_thread_policy.h | 39 uint32 desired_access, 47 uint32 desired_access, 56 uint32 desired_access, 64 uint32 desired_access,
|
D | process_thread_policy.cc | 104 uint32 desired_access, in OpenThreadAction() argument 121 NTSTATUS status = NtOpenThread(&local_handle, desired_access, &attributes, in OpenThreadAction() 136 uint32 desired_access, in OpenProcessAction() argument 153 NTSTATUS status = NtOpenProcess(&local_handle, desired_access, &attributes, in OpenProcessAction() 169 uint32 desired_access, in OpenProcessTokenAction() argument 179 NTSTATUS status = NtOpenProcessToken(client_info.process, desired_access, in OpenProcessTokenAction() 194 uint32 desired_access, in OpenProcessTokenExAction() argument 205 NTSTATUS status = NtOpenProcessTokenEx(client_info.process, desired_access, in OpenProcessTokenExAction()
|
D | registry_policy_test.cc | 49 REGSAM desired_access = 0; in Reg_OpenKey() local 52 desired_access = KEY_READ; in Reg_OpenKey() 54 desired_access = KEY_ALL_ACCESS; in Reg_OpenKey() 57 desired_access = KEY_ALL_ACCESS; in Reg_OpenKey() 59 desired_access = MAXIMUM_ALLOWED; in Reg_OpenKey() 67 result = ::RegCreateKeyEx(root, argv[3], 0, NULL, options, desired_access, in Reg_OpenKey() 70 result = ::RegOpenKeyEx(root, argv[3], 0, desired_access, &key); in Reg_OpenKey() 73 if (MAXIMUM_ALLOWED == desired_access) { in Reg_OpenKey()
|
D | registry_dispatcher.cc | 76 DWORD desired_access, DWORD title_index, DWORD create_options) { in NtCreateKey() argument 97 params[OpenKey::ACCESS] = ParamPickerMake(desired_access); in NtCreateKey() 106 attributes, root, desired_access, in NtCreateKey() 122 DWORD desired_access) { in NtOpenKey() argument 142 params[OpenKey::ACCESS] = ParamPickerMake(desired_access); in NtOpenKey() 149 attributes, root, desired_access, &handle, in NtOpenKey()
|
D | registry_interception.h | 18 NtCreateKeyFunction orig_CreateKey, PHANDLE key, ACCESS_MASK desired_access, 25 NtOpenKeyFunction orig_OpenKey, PHANDLE key, ACCESS_MASK desired_access, 31 NtOpenKeyExFunction orig_OpenKeyEx, PHANDLE key, ACCESS_MASK desired_access,
|
D | policy_target.cc | 108 ACCESS_MASK desired_access, BOOLEAN open_as_self, PHANDLE token) { in TargetNtOpenThreadToken() argument 112 return orig_OpenThreadToken(thread, desired_access, open_as_self, token); in TargetNtOpenThreadToken() 118 ACCESS_MASK desired_access, BOOLEAN open_as_self, ULONG handle_attributes, in TargetNtOpenThreadTokenEx() argument 123 return orig_OpenThreadTokenEx(thread, desired_access, open_as_self, in TargetNtOpenThreadTokenEx()
|
D | process_thread_interception.h | 52 ACCESS_MASK desired_access, POBJECT_ATTRIBUTES object_attributes, 58 ACCESS_MASK desired_access, POBJECT_ATTRIBUTES object_attributes, 64 ACCESS_MASK desired_access, PHANDLE token); 69 ACCESS_MASK desired_access, ULONG handle_attributes, PHANDLE token);
|
D | filesystem_interception.cc | 19 PHANDLE file, ACCESS_MASK desired_access, in TargetNtCreateFile() argument 27 NTSTATUS status = orig_CreateFile(file, desired_access, object_attributes, in TargetNtCreateFile() 58 params[OpenFile::ACCESS] = ParamPickerMake(desired_access); in TargetNtCreateFile() 70 desired_access, file_attributes, sharing, in TargetNtCreateFile() 95 ACCESS_MASK desired_access, in TargetNtOpenFile() argument 100 NTSTATUS status = orig_OpenFile(file, desired_access, object_attributes, in TargetNtOpenFile() 129 params[OpenFile::ACCESS] = ParamPickerMake(desired_access); in TargetNtOpenFile() 139 desired_access, sharing, options, &answer); in TargetNtOpenFile()
|
D | sync_dispatcher.cc | 65 DWORD desired_access) { in OpenEvent() argument 70 params[OpenEventParams::ACCESS] = ParamPickerMake(desired_access); in OpenEvent() 76 desired_access, &handle); in OpenEvent()
|
D | filesystem_dispatcher.cc | 86 IPCInfo* ipc, base::string16* name, DWORD attributes, DWORD desired_access, in NtCreateFile() argument 100 params[OpenFile::ACCESS] = ParamPickerMake(desired_access); in NtCreateFile() 113 attributes, desired_access, in NtCreateFile() 129 IPCInfo* ipc, base::string16* name, DWORD attributes, DWORD desired_access, in NtOpenFile() argument 142 params[OpenFile::ACCESS] = ParamPickerMake(desired_access); in NtOpenFile() 155 attributes, desired_access, in NtOpenFile()
|
D | filesystem_policy.cc | 21 ACCESS_MASK desired_access, in NtCreateFileInTarget() argument 35 NTSTATUS status = NtCreateFile(&local_handle, desired_access, obj_attributes, in NtCreateFileInTarget() 234 uint32 desired_access, in CreateFileAction() argument 252 *nt_status = NtCreateFileInTarget(handle, desired_access, &obj_attributes, in CreateFileAction() 265 uint32 desired_access, in OpenFileAction() argument 283 *nt_status = NtCreateFileInTarget(handle, desired_access, &obj_attributes, in OpenFileAction()
|
D | handle_interception.cc | 19 DWORD desired_access, in DuplicateHandleProxy() argument 31 desired_access, options, &answer); in DuplicateHandleProxy()
|
/external/chromium_org/remoting/host/win/ |
D | launch_process_with_token.cc | 124 bool CopyProcessToken(DWORD desired_access, ScopedHandle* token_out) { in CopyProcessToken() argument 127 TOKEN_DUPLICATE | desired_access, in CopyProcessToken() 135 desired_access, in CopyProcessToken() 151 DWORD desired_access = TOKEN_ADJUST_PRIVILEGES | TOKEN_IMPERSONATE | in CreatePrivilegedToken() local 153 if (!CopyProcessToken(desired_access, &privileged_token)) { in CreatePrivilegedToken() 188 DWORD desired_access = in ProcessCreateProcessResponse() local 204 OpenProcess(desired_access, in ProcessCreateProcessResponse() 218 DWORD desired_access = in ProcessCreateProcessResponse() local 231 OpenThread(desired_access, in ProcessCreateProcessResponse() 414 DWORD desired_access = TOKEN_ADJUST_DEFAULT | TOKEN_ADJUST_SESSIONID | in CreateSessionToken() local [all …]
|
D | unprivileged_process_delegate.cc | 159 DWORD desired_access = in CreateWindowStationAndDesktop() local 170 desired_access, &security_attributes)); in CreateWindowStationAndDesktop() 182 desired_access = DESKTOP_READOBJECTS | DESKTOP_CREATEWINDOW | in CreateWindowStationAndDesktop() 194 handles.SetDesktop(CreateDesktop(L"Default", NULL, NULL, 0, desired_access, in CreateWindowStationAndDesktop() 404 DWORD desired_access = in ReportProcessLaunched() local 411 desired_access, in ReportProcessLaunched()
|
/external/chromium_org/chrome/test/chromedriver/chrome/ |
D | zip_internal.cc | 38 DWORD desired_access, creation_disposition; in ZipOpenFunc() local 43 desired_access = share_mode = flags_and_attributes = 0; in ZipOpenFunc() 46 desired_access = GENERIC_READ; in ZipOpenFunc() 50 desired_access = GENERIC_WRITE | GENERIC_READ; in ZipOpenFunc() 53 desired_access = GENERIC_WRITE | GENERIC_READ; in ZipOpenFunc() 58 if ((filename != NULL) && (desired_access != 0)) { in ZipOpenFunc() 59 file = CreateFile(filename16.c_str(), desired_access, share_mode, in ZipOpenFunc()
|
/external/chromium_org/third_party/zlib/google/ |
D | zip_internal.cc | 38 DWORD desired_access, creation_disposition; in ZipOpenFunc() local 43 desired_access = share_mode = flags_and_attributes = 0; in ZipOpenFunc() 46 desired_access = GENERIC_READ; in ZipOpenFunc() 50 desired_access = GENERIC_WRITE | GENERIC_READ; in ZipOpenFunc() 53 desired_access = GENERIC_WRITE | GENERIC_READ; in ZipOpenFunc() 58 if ((filename != NULL) && (desired_access != 0)) { in ZipOpenFunc() 59 file = CreateFile(filename16.c_str(), desired_access, share_mode, in ZipOpenFunc()
|
/external/chromium/chrome/common/ |
D | zip.cc | 117 DWORD desired_access, creation_disposition; in ZipOpenFunc() local 122 desired_access = share_mode = flags_and_attributes = 0; in ZipOpenFunc() 125 desired_access = GENERIC_READ; in ZipOpenFunc() 129 desired_access = GENERIC_WRITE | GENERIC_READ; in ZipOpenFunc() 132 desired_access = GENERIC_WRITE | GENERIC_READ; in ZipOpenFunc() 137 if ((filename != NULL) && (desired_access != 0)) { in ZipOpenFunc() 138 file = CreateFile(filename_wstr.c_str(), desired_access, share_mode, in ZipOpenFunc()
|