Commit 2917232a authored by halyavin@google.com's avatar halyavin@google.com

NaCl: Add new access right to process handle which is needed to speed up debug stub.

In order to remove sleep-waiting from debug stub, we need to send events on
exceptions in NaCl program from Chrome process to debug stub. This requires
duplicating event handle from NaCl process to Chrome process.

BUG= http://code.google.com/p/nativeclient/issues/detail?id=2952
TEST= none


Review URL: https://chromiumcodereview.appspot.com/11819057

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176105 0039d316-1c4b-4281-b951-d872f2087c98
parent f96f559f
...@@ -904,6 +904,7 @@ bool NaClProcessHost::AttachDebugExceptionHandler(const std::string& info, ...@@ -904,6 +904,7 @@ bool NaClProcessHost::AttachDebugExceptionHandler(const std::string& info,
base::kProcessAccessVMOperation | base::kProcessAccessVMOperation |
base::kProcessAccessVMRead | base::kProcessAccessVMRead |
base::kProcessAccessVMWrite | base::kProcessAccessVMWrite |
base::kProcessAccessDuplicateHandle |
base::kProcessAccessWaitForTermination, base::kProcessAccessWaitForTermination,
process_handle.Receive())) { process_handle.Receive())) {
LOG(ERROR) << "Failed to get process handle"; LOG(ERROR) << "Failed to get process handle";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment