Searched defs:desired_access (Results 1 - 25 of 33) sorted by relevance

12

/external/chromium_org/sandbox/win/src/
H A Dhandle_interception.cc19 DWORD desired_access,
31 desired_access, options, &answer);
16 DuplicateHandleProxy(HANDLE source_handle, DWORD target_process_id, HANDLE* target_handle, DWORD desired_access, DWORD options) argument
H A Dhandle_policy.cc58 DWORD desired_access,
84 target_handle, desired_access, FALSE,
54 DuplicateHandleProxyAction(EvalResult eval_result, HANDLE source_handle, DWORD target_process_id, HANDLE* target_handle, DWORD desired_access, DWORD options) argument
H A Dsync_dispatcher.cc62 DWORD desired_access) {
67 params[OpenEventParams::ACCESS] = ParamPickerMake(desired_access);
74 result, *ipc->client_info, *name, desired_access, &handle);
61 OpenEvent(IPCInfo* ipc, base::string16* name, DWORD desired_access) argument
H A Dhandle_dispatcher.cc45 DWORD desired_access,
85 desired_access, options);
42 DuplicateHandleProxy(IPCInfo* ipc, HANDLE source_handle, DWORD target_process_id, DWORD desired_access, DWORD options) argument
H A Dpolicy_target.cc108 ACCESS_MASK desired_access, BOOLEAN open_as_self, PHANDLE token) {
112 return orig_OpenThreadToken(thread, desired_access, open_as_self, token);
118 ACCESS_MASK desired_access, BOOLEAN open_as_self, ULONG handle_attributes,
123 return orig_OpenThreadTokenEx(thread, desired_access, open_as_self,
106 TargetNtOpenThreadToken( NtOpenThreadTokenFunction orig_OpenThreadToken, HANDLE thread, ACCESS_MASK desired_access, BOOLEAN open_as_self, PHANDLE token) argument
116 TargetNtOpenThreadTokenEx( NtOpenThreadTokenExFunction orig_OpenThreadTokenEx, HANDLE thread, ACCESS_MASK desired_access, BOOLEAN open_as_self, ULONG handle_attributes, PHANDLE token) argument
H A Dregistry_dispatcher.cc79 DWORD desired_access, DWORD title_index, DWORD create_options) {
100 params[OpenKey::ACCESS] = ParamPickerMake(desired_access);
109 attributes, root, desired_access,
125 DWORD desired_access) {
145 params[OpenKey::ACCESS] = ParamPickerMake(desired_access);
152 attributes, root, desired_access, &handle,
77 NtCreateKey( IPCInfo* ipc, base::string16* name, DWORD attributes, HANDLE root, DWORD desired_access, DWORD title_index, DWORD create_options) argument
123 NtOpenKey(IPCInfo* ipc, base::string16* name, DWORD attributes, HANDLE root, DWORD desired_access) argument
H A Dregistry_interception.cc17 PHANDLE key, ACCESS_MASK desired_access,
22 NTSTATUS status = orig_CreateKey(key, desired_access, object_attributes,
63 root_directory, desired_access, title_index,
96 ACCESS_MASK desired_access,
121 root_directory, desired_access, &answer);
149 ACCESS_MASK desired_access,
152 NTSTATUS status = orig_OpenKey(key, desired_access, object_attributes);
156 return CommonNtOpenKey(status, key, desired_access, object_attributes);
160 PHANDLE key, ACCESS_MASK desired_access,
164 NTSTATUS status = orig_OpenKeyEx(key, desired_access, object_attribute
16 TargetNtCreateKey(NtCreateKeyFunction orig_CreateKey, PHANDLE key, ACCESS_MASK desired_access, POBJECT_ATTRIBUTES object_attributes, ULONG title_index, PUNICODE_STRING class_name, ULONG create_options, PULONG disposition) argument
95 CommonNtOpenKey(NTSTATUS status, PHANDLE key, ACCESS_MASK desired_access, POBJECT_ATTRIBUTES object_attributes) argument
148 TargetNtOpenKey(NtOpenKeyFunction orig_OpenKey, PHANDLE key, ACCESS_MASK desired_access, POBJECT_ATTRIBUTES object_attributes) argument
159 TargetNtOpenKeyEx(NtOpenKeyExFunction orig_OpenKeyEx, PHANDLE key, ACCESS_MASK desired_access, POBJECT_ATTRIBUTES object_attributes, ULONG open_options) argument
[all...]
H A Dsync_interception.cc36 ACCESS_MASK desired_access,
41 params[OpenEventParams::ACCESS] = ParamPickerMake(desired_access);
47 ResultCode code = CrossCall(ipc, IPC_OPENEVENT_TAG, name, desired_access,
55 ACCESS_MASK desired_access,
59 NTSTATUS status = orig_CreateEvent(event_handle, desired_access,
111 ACCESS_MASK desired_access,
113 NTSTATUS status = orig_OpenEvent(event_handle, desired_access,
143 ResultCode code = ProxyOpenEvent(name, desired_access, memory, &answer);
35 ProxyOpenEvent(LPCWSTR name, ACCESS_MASK desired_access, void* ipc_memory, CrossCallReturn* answer) argument
53 TargetNtCreateEvent(NtCreateEventFunction orig_CreateEvent, PHANDLE event_handle, ACCESS_MASK desired_access, POBJECT_ATTRIBUTES object_attributes, EVENT_TYPE event_type, BOOLEAN initial_state) argument
109 TargetNtOpenEvent(NtOpenEventFunction orig_OpenEvent, PHANDLE event_handle, ACCESS_MASK desired_access, POBJECT_ATTRIBUTES object_attributes) argument
H A Dfilesystem_dispatcher.cc86 IPCInfo* ipc, base::string16* name, DWORD attributes, DWORD desired_access,
100 params[OpenFile::ACCESS] = ParamPickerMake(desired_access);
113 attributes, desired_access,
129 IPCInfo* ipc, base::string16* name, DWORD attributes, DWORD desired_access,
142 params[OpenFile::ACCESS] = ParamPickerMake(desired_access);
155 attributes, desired_access,
85 NtCreateFile( IPCInfo* ipc, base::string16* name, DWORD attributes, DWORD desired_access, DWORD file_attributes, DWORD share_access, DWORD create_disposition, DWORD create_options) argument
128 NtOpenFile( IPCInfo* ipc, base::string16* name, DWORD attributes, DWORD desired_access, DWORD share_access, DWORD open_options) argument
H A Dfilesystem_interception.cc19 PHANDLE file, ACCESS_MASK desired_access,
27 NTSTATUS status = orig_CreateFile(file, desired_access, object_attributes,
58 params[OpenFile::ACCESS] = ParamPickerMake(desired_access);
70 desired_access, file_attributes, sharing,
95 ACCESS_MASK desired_access,
100 NTSTATUS status = orig_OpenFile(file, desired_access, object_attributes,
129 params[OpenFile::ACCESS] = ParamPickerMake(desired_access);
139 desired_access, sharing, options, &answer);
18 TargetNtCreateFile(NtCreateFileFunction orig_CreateFile, PHANDLE file, ACCESS_MASK desired_access, POBJECT_ATTRIBUTES object_attributes, PIO_STATUS_BLOCK io_status, PLARGE_INTEGER allocation_size, ULONG file_attributes, ULONG sharing, ULONG disposition, ULONG options, PVOID ea_buffer, ULONG ea_length) argument
94 TargetNtOpenFile(NtOpenFileFunction orig_OpenFile, PHANDLE file, ACCESS_MASK desired_access, POBJECT_ATTRIBUTES object_attributes, PIO_STATUS_BLOCK io_status, ULONG sharing, ULONG options) argument
H A Dregistry_policy.cc55 ACCESS_MASK desired_access,
65 if (MAXIMUM_ALLOWED & desired_access) {
66 NTSTATUS status = TranslateMaximumAllowed(obj_attributes, &desired_access);
72 NTSTATUS status = NtCreateKey(&local_handle, desired_access, obj_attributes,
87 ACCESS_MASK desired_access,
93 if (MAXIMUM_ALLOWED & desired_access) {
94 NTSTATUS status = TranslateMaximumAllowed(obj_attributes, &desired_access);
100 NTSTATUS status = NtOpenKey(&local_handle, desired_access, obj_attributes);
172 uint32 desired_access,
195 *nt_status = NtCreateKeyInTarget(handle, desired_access,
54 NtCreateKeyInTarget(HANDLE* target_key_handle, ACCESS_MASK desired_access, OBJECT_ATTRIBUTES* obj_attributes, ULONG title_index, UNICODE_STRING* class_name, ULONG create_options, ULONG* disposition, HANDLE target_process) argument
86 NtOpenKeyInTarget(HANDLE* target_key_handle, ACCESS_MASK desired_access, OBJECT_ATTRIBUTES* obj_attributes, HANDLE target_process) argument
167 CreateKeyAction(EvalResult eval_result, const ClientInfo& client_info, const base::string16 &key, uint32 attributes, HANDLE root_directory, uint32 desired_access, uint32 title_index, uint32 create_options, HANDLE* handle, NTSTATUS* nt_status, ULONG* disposition) argument
201 OpenKeyAction(EvalResult eval_result, const ClientInfo& client_info, const base::string16 &key, uint32 attributes, HANDLE root_directory, uint32 desired_access, HANDLE* handle, NTSTATUS* nt_status) argument
[all...]
H A Dfilesystem_policy.cc21 ACCESS_MASK desired_access,
35 NTSTATUS status = NtCreateFile(&local_handle, desired_access, obj_attributes,
231 uint32 desired_access,
249 *nt_status = NtCreateFileInTarget(handle, desired_access, &obj_attributes,
262 uint32 desired_access,
280 *nt_status = NtCreateFileInTarget(handle, desired_access, &obj_attributes,
20 NtCreateFileInTarget(HANDLE* target_file_handle, ACCESS_MASK desired_access, OBJECT_ATTRIBUTES* obj_attributes, IO_STATUS_BLOCK* io_status_block, ULONG file_attributes, ULONG share_access, ULONG create_disposition, ULONG create_options, PVOID ea_buffer, ULONG ea_lenght, HANDLE target_process) argument
227 CreateFileAction(EvalResult eval_result, const ClientInfo& client_info, const base::string16 &file, uint32 attributes, uint32 desired_access, uint32 file_attributes, uint32 share_access, uint32 create_disposition, uint32 create_options, HANDLE *handle, NTSTATUS* nt_status, ULONG_PTR *io_information) argument
258 OpenFileAction(EvalResult eval_result, const ClientInfo& client_info, const base::string16 &file, uint32 attributes, uint32 desired_access, uint32 share_access, uint32 open_options, HANDLE *handle, NTSTATUS* nt_status, ULONG_PTR *io_information) argument
H A Dprocess_thread_dispatcher.cc158 bool ThreadProcessDispatcher::NtOpenThread(IPCInfo* ipc, DWORD desired_access, argument
162 desired_access, thread_id,
169 bool ThreadProcessDispatcher::NtOpenProcess(IPCInfo* ipc, DWORD desired_access, argument
173 desired_access, process_id,
181 DWORD desired_access) {
184 process, desired_access,
192 DWORD desired_access,
197 desired_access,
180 NtOpenProcessToken(IPCInfo* ipc, HANDLE process, DWORD desired_access) argument
191 NtOpenProcessTokenEx(IPCInfo* ipc, HANDLE process, DWORD desired_access, DWORD attributes) argument
H A Dprocess_thread_interception.cc23 PHANDLE thread, ACCESS_MASK desired_access,
26 NTSTATUS status = orig_OpenThread(thread, desired_access, object_attributes,
73 ResultCode code = CrossCall(ipc, IPC_NTOPENTHREAD_TAG, desired_access,
105 PHANDLE process, ACCESS_MASK desired_access,
108 NTSTATUS status = orig_OpenProcess(process, desired_access, object_attributes,
151 ResultCode code = CrossCall(ipc, IPC_NTOPENPROCESS_TAG, desired_access,
175 ACCESS_MASK desired_access, PHANDLE token) {
176 NTSTATUS status = orig_OpenProcessToken(process, desired_access, token);
197 desired_access, &answer);
219 ACCESS_MASK desired_access, ULON
22 TargetNtOpenThread(NtOpenThreadFunction orig_OpenThread, PHANDLE thread, ACCESS_MASK desired_access, POBJECT_ATTRIBUTES object_attributes, PCLIENT_ID client_id) argument
104 TargetNtOpenProcess(NtOpenProcessFunction orig_OpenProcess, PHANDLE process, ACCESS_MASK desired_access, POBJECT_ATTRIBUTES object_attributes, PCLIENT_ID client_id) argument
173 TargetNtOpenProcessToken( NtOpenProcessTokenFunction orig_OpenProcessToken, HANDLE process, ACCESS_MASK desired_access, PHANDLE token) argument
217 TargetNtOpenProcessTokenEx( NtOpenProcessTokenExFunction orig_OpenProcessTokenEx, HANDLE process, ACCESS_MASK desired_access, ULONG handle_attributes, PHANDLE token) argument
[all...]
H A Dprocess_thread_policy.cc104 uint32 desired_access,
121 NTSTATUS status = NtOpenThread(&local_handle, desired_access, &attributes,
135 uint32 desired_access,
152 NTSTATUS status = NtOpenProcess(&local_handle, desired_access, &attributes,
167 uint32 desired_access,
177 NTSTATUS status = NtOpenProcessToken(client_info.process, desired_access,
191 uint32 desired_access,
202 NTSTATUS status = NtOpenProcessTokenEx(client_info.process, desired_access,
103 OpenThreadAction(const ClientInfo& client_info, uint32 desired_access, uint32 thread_id, HANDLE* handle) argument
134 OpenProcessAction(const ClientInfo& client_info, uint32 desired_access, uint32 process_id, HANDLE* handle) argument
165 OpenProcessTokenAction(const ClientInfo& client_info, HANDLE process, uint32 desired_access, HANDLE* handle) argument
189 OpenProcessTokenExAction(const ClientInfo& client_info, HANDLE process, uint32 desired_access, uint32 attributes, HANDLE* handle) argument
/external/chromium_org/remoting/tools/
H A Dbreakpad_tester_win.cc63 DWORD desired_access = PROCESS_CREATE_THREAD | PROCESS_QUERY_INFORMATION | local
66 process.Set(OpenProcess(desired_access, FALSE, pid));
/external/chromium_org/third_party/webrtc/modules/desktop_capture/win/
H A Ddesktop.cc75 ACCESS_MASK desired_access = local
79 HDESK desktop = OpenDesktop(desktop_name, 0, FALSE, desired_access);
/external/chromium_org/sandbox/win/tools/finder/
H A Dfinder_kernel.cc221 NTSTATUS Finder::NtGenericOpen(ACCESS_MASK desired_access, argument
225 return func_to_call(handle, desired_access, object_attributes);
/external/chromium_org/chrome_elf/create_file/
H A Dchrome_create_file.cc96 DWORD desired_access,
103 desired_access,
114 DWORD desired_access,
123 desired_access,
131 desired_access,
146 DWORD desired_access,
194 desired_access |= DELETE;
248 // Set desired_access, and flags_and_attributes to match those
250 desired_access |= 0x100080;
254 desired_access,
95 CreateFileWImpl(LPCWSTR file_name, DWORD desired_access, DWORD share_mode, LPSECURITY_ATTRIBUTES security_attributes, DWORD creation_disposition, DWORD flags_and_attributes, HANDLE template_file) argument
112 CreateFileWRedirect( LPCWSTR file_name, DWORD desired_access, DWORD share_mode, LPSECURITY_ATTRIBUTES security_attributes, DWORD creation_disposition, DWORD flags_and_attributes, HANDLE template_file) argument
144 CreateFileNTDLL( LPCWSTR file_name, DWORD desired_access, DWORD share_mode, LPSECURITY_ATTRIBUTES security_attributes, DWORD creation_disposition, DWORD flags_and_attributes, HANDLE template_file) argument
[all...]
H A Dchrome_create_file_unittest.cc36 ACCESS_MASK desired_access; member in struct:__anon6049::ChromeCreateFileTest::NtCreateFileParams
55 ACCESS_MASK desired_access,
66 desired_access,
130 ACCESS_MASK desired_access,
142 SetParams(desired_access,
156 desired_access,
168 void SetParams(ACCESS_MASK desired_access, argument
178 params->desired_access = desired_access;
197 std::bitset<32> elf((int) elf_params_.desired_access);
53 FakeNtCreateFile( PHANDLE file_handle, ACCESS_MASK desired_access, POBJECT_ATTRIBUTES object_attributes, PIO_STATUS_BLOCK io_status_block, PLARGE_INTEGER allocation_size, ULONG file_attributes, ULONG share_access, ULONG create_disposition, ULONG create_options, PVOID ea_buffer, ULONG ea_length) argument
129 HandleCreateFileCall(PHANDLE file_handle, ACCESS_MASK desired_access, POBJECT_ATTRIBUTES object_attributes, PIO_STATUS_BLOCK io_status_block, PLARGE_INTEGER allocation_size, ULONG file_attributes, ULONG share_access, ULONG create_disposition, ULONG create_options, PVOID ea_buffer, ULONG ea_length, CallPath call_path) argument
[all...]
/external/chromium_org/components/nacl/loader/
H A Dnacl_listener.cc112 uint32_t desired_access,
115 target_handle, desired_access,
109 BrokerDuplicateHandle(NaClHandle source_handle, uint32_t process_id, NaClHandle* target_handle, uint32_t desired_access, uint32_t options) argument
/external/chromium_org/remoting/host/
H A Ddaemon_process_win.cc248 DWORD desired_access = SERVICE_CHANGE_CONFIG | SERVICE_QUERY_STATUS; local
250 OpenService(scmanager.Get(), kWindowsServiceName, desired_access));
/external/chromium_org/remoting/host/win/
H A Dlaunch_process_with_token.cc124 // The returned handle will have |desired_access| rights.
125 bool CopyProcessToken(DWORD desired_access, ScopedHandle* token_out) { argument
128 TOKEN_DUPLICATE | desired_access,
136 desired_access,
152 DWORD desired_access = TOKEN_ADJUST_PRIVILEGES | TOKEN_IMPERSONATE | local
154 if (!CopyProcessToken(desired_access, &privileged_token)) {
186 // the SDK. |desired_access| below is effectively PROCESS_ALL_ACCESS from
188 DWORD desired_access = local
204 OpenProcess(desired_access,
216 // the SDK. |desired_access| belo
218 DWORD desired_access = local
413 DWORD desired_access = TOKEN_ADJUST_DEFAULT | TOKEN_ADJUST_SESSIONID | local
[all...]
H A Dunprivileged_process_delegate.cc160 DWORD desired_access = local
171 desired_access, &security_attributes));
183 desired_access = DESKTOP_READOBJECTS | DESKTOP_CREATEWINDOW |
195 handles.SetDesktop(CreateDesktop(L"Default", NULL, NULL, 0, desired_access,
401 DWORD desired_access = local
408 desired_access,
H A Dwts_session_process_delegate.cc323 DWORD desired_access = local
325 ScopedHandle worker_process(OpenProcess(desired_access, false, pid));
512 DWORD desired_access = local
519 desired_access,

Completed in 391 milliseconds

12