From 35c34d6bb9b1deb656bfe65741f2c4f8401045f4 Mon Sep 17 00:00:00 2001 From: doshimun Date: Sat, 12 Apr 2008 00:00:34 +0000 Subject: 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 --- src/client/windows/tests/crash_generation_app/crash_generation_app.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/client/windows/tests/crash_generation_app') 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, -- cgit v1.2.1