diff options
author | doshimun <doshimun@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2008-05-15 04:12:34 +0000 |
---|---|---|
committer | doshimun <doshimun@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2008-05-15 04:12:34 +0000 |
commit | 72bafd378d836d9a1fe81a1f26c91d51b2a7892b (patch) | |
tree | f5a9ff8820404a9c1223c2d29e20f8f53c76bc4e /src/client/windows/crash_generation | |
parent | 64-bit processor can't handle 32-bit ppc minidumps due to struct padding (diff) | |
download | breakpad-72bafd378d836d9a1fe81a1f26c91d51b2a7892b.tar.xz |
Microsoft broke PROCESS_ALL_ACCESS when we build with WINVER=0x600. See http://nsylvain.blogspot.com/2008/01/winverwin32winnt-mayhem.html for
details (second half of the post).
Changing PROCESS_ALL_ACCESS to GENERIC_ALL in ClientInfo class when
opening the client process handle on the OOP server side.
A minor change to pipe name in the test app also.
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@274 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/windows/crash_generation')
-rw-r--r-- | src/client/windows/crash_generation/client_info.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/windows/crash_generation/client_info.cc b/src/client/windows/crash_generation/client_info.cc index 6d602744..7b90561d 100644 --- a/src/client/windows/crash_generation/client_info.cc +++ b/src/client/windows/crash_generation/client_info.cc @@ -54,7 +54,7 @@ ClientInfo::ClientInfo(CrashGenerationServer* crash_server, } bool ClientInfo::Initialize() { - process_handle_ = OpenProcess(PROCESS_ALL_ACCESS, FALSE, pid_); + process_handle_ = OpenProcess(GENERIC_ALL, FALSE, pid_); if (!process_handle_) { return false; } |