aboutsummaryrefslogtreecommitdiff
path: root/src/client/windows/tests
diff options
context:
space:
mode:
authordoshimun <doshimun@4c0a9323-5329-0410-9bdc-e9ce6186880e>2008-04-12 00:00:34 +0000
committerdoshimun <doshimun@4c0a9323-5329-0410-9bdc-e9ce6186880e>2008-04-12 00:00:34 +0000
commit35c34d6bb9b1deb656bfe65741f2c4f8401045f4 (patch)
tree3c5b1f616e231fb673c06352afa5e6caeafa06ee /src/client/windows/tests
parentSome cosmetic/style changes to conform to style guidelines. This time (diff)
downloadbreakpad-35c34d6bb9b1deb656bfe65741f2c4f8401045f4.tar.xz
Add a parameter to CrashGenerationServer to let the callers set the
security attributes on the pipe. This is useful when the process hosting the crash server wants to let processes from other users to connect to it and generate dumps for them. git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@258 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/windows/tests')
-rw-r--r--src/client/windows/tests/crash_generation_app/crash_generation_app.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/windows/tests/crash_generation_app/crash_generation_app.cc b/src/client/windows/tests/crash_generation_app/crash_generation_app.cc
index af4aaa29..129cdb24 100644
--- a/src/client/windows/tests/crash_generation_app/crash_generation_app.cc
+++ b/src/client/windows/tests/crash_generation_app/crash_generation_app.cc
@@ -35,7 +35,7 @@
namespace google_breakpad {
const int kMaxLoadString = 100;
-const wchar_t kPipeName[] = L"\\\\.\\pipe\\GoogleCrashServices";
+const wchar_t kPipeName[] = L"\\\\.\\pipe\\GoogleCrashServices\\S-1-5-21-39260824-743453154-142223018-195347";
const DWORD kEditBoxStyles = WS_CHILD |
WS_VISIBLE |
@@ -236,6 +236,7 @@ void CrashServerStart() {
std::wstring dump_path = L"C:\\Dumps\\";
crash_server = new CrashGenerationServer(kPipeName,
+ NULL,
ShowClientConnected,
NULL,
ShowClientCrashed,