Searched refs:local_handle (Results 1 – 5 of 5) sorted by relevance
/external/chromium_org/sandbox/win/src/ |
D | process_thread_policy.cc | 120 HANDLE local_handle; in OpenThreadAction() local 121 NTSTATUS status = NtOpenThread(&local_handle, desired_access, &attributes, in OpenThreadAction() 124 if (!::DuplicateHandle(::GetCurrentProcess(), local_handle, in OpenThreadAction() 151 HANDLE local_handle; in OpenProcessAction() local 152 NTSTATUS status = NtOpenProcess(&local_handle, desired_access, &attributes, in OpenProcessAction() 155 if (!::DuplicateHandle(::GetCurrentProcess(), local_handle, in OpenProcessAction() 176 HANDLE local_handle; in OpenProcessTokenAction() local 178 &local_handle); in OpenProcessTokenAction() 180 if (!::DuplicateHandle(::GetCurrentProcess(), local_handle, in OpenProcessTokenAction() 201 HANDLE local_handle; in OpenProcessTokenExAction() local [all …]
|
D | sync_policy.cc | 203 HANDLE local_handle = NULL; in CreateEventAction() local 204 status = NtCreateEvent(&local_handle, EVENT_ALL_ACCESS, &object_attributes, in CreateEventAction() 206 if (NULL == local_handle) in CreateEventAction() 209 if (!::DuplicateHandle(::GetCurrentProcess(), local_handle, in CreateEventAction() 240 HANDLE local_handle = NULL; in OpenEventAction() local 241 status = NtOpenEvent(&local_handle, desired_access, &object_attributes); in OpenEventAction() 242 if (NULL == local_handle) in OpenEventAction() 245 if (!::DuplicateHandle(::GetCurrentProcess(), local_handle, in OpenEventAction()
|
D | registry_policy.cc | 71 HANDLE local_handle = INVALID_HANDLE_VALUE; in NtCreateKeyInTarget() local 72 NTSTATUS status = NtCreateKey(&local_handle, desired_access, obj_attributes, in NtCreateKeyInTarget() 78 if (!::DuplicateHandle(::GetCurrentProcess(), local_handle, in NtCreateKeyInTarget() 99 HANDLE local_handle = INVALID_HANDLE_VALUE; in NtOpenKeyInTarget() local 100 NTSTATUS status = NtOpenKey(&local_handle, desired_access, obj_attributes); in NtOpenKeyInTarget() 105 if (!::DuplicateHandle(::GetCurrentProcess(), local_handle, in NtOpenKeyInTarget()
|
D | filesystem_policy.cc | 34 HANDLE local_handle = INVALID_HANDLE_VALUE; in NtCreateFileInTarget() local 35 NTSTATUS status = NtCreateFile(&local_handle, desired_access, obj_attributes, in NtCreateFileInTarget() 43 if (!sandbox::SameObject(local_handle, obj_attributes->ObjectName->Buffer)) { in NtCreateFileInTarget() 45 ::CloseHandle(local_handle); in NtCreateFileInTarget() 49 if (!::DuplicateHandle(::GetCurrentProcess(), local_handle, in NtCreateFileInTarget() 354 HANDLE local_handle = NULL; in SetInformationFileAction() local 356 ::GetCurrentProcess(), &local_handle, 0, FALSE, in SetInformationFileAction() 362 base::win::ScopedHandle handle(local_handle); in SetInformationFileAction() 366 *nt_status = NtSetInformationFile(local_handle, io_block, file_info, length, in SetInformationFileAction()
|
/external/chromium_org/ipc/ |
D | ipc_channel_win.cc | 266 HANDLE local_handle; in CreatePipe() local 270 &local_handle, in CreatePipe() 277 pipe_.Set(local_handle); in CreatePipe()
|