mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2025-07-03 14:58:35 +00:00
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
This commit is contained in:
parent
808ff9bc70
commit
72bafd378d
|
@ -54,7 +54,7 @@ ClientInfo::ClientInfo(CrashGenerationServer* crash_server,
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ClientInfo::Initialize() {
|
bool ClientInfo::Initialize() {
|
||||||
process_handle_ = OpenProcess(PROCESS_ALL_ACCESS, FALSE, pid_);
|
process_handle_ = OpenProcess(GENERIC_ALL, FALSE, pid_);
|
||||||
if (!process_handle_) {
|
if (!process_handle_) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
namespace google_breakpad {
|
namespace google_breakpad {
|
||||||
|
|
||||||
const int kMaxLoadString = 100;
|
const int kMaxLoadString = 100;
|
||||||
const wchar_t kPipeName[] = L"\\\\.\\pipe\\GoogleCrashServices\\S-1-5-21-39260824-743453154-142223018-195347";
|
const wchar_t kPipeName[] = L"\\\\.\\pipe\\BreakpadCrashServices\\TestServer";
|
||||||
|
|
||||||
const DWORD kEditBoxStyles = WS_CHILD |
|
const DWORD kEditBoxStyles = WS_CHILD |
|
||||||
WS_VISIBLE |
|
WS_VISIBLE |
|
||||||
|
|
Loading…
Reference in a new issue