Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1655)

Side by Side Diff: chrome/common/sandbox_policy.cc

Issue 6667056: Blackist more dlls due to sandbox interaction (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/sandbox_policy.h" 5 #include "chrome/common/sandbox_policy.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/debug/debugger.h" 10 #include "base/debug/debugger.h"
(...skipping 16 matching lines...) Expand all
27 static sandbox::BrokerServices* g_broker_services = NULL; 27 static sandbox::BrokerServices* g_broker_services = NULL;
28 28
29 namespace { 29 namespace {
30 30
31 // The DLLs listed here are known (or under strong suspicion) of causing crashes 31 // The DLLs listed here are known (or under strong suspicion) of causing crashes
32 // when they are loaded in the renderer. 32 // when they are loaded in the renderer.
33 const wchar_t* const kTroublesomeDlls[] = { 33 const wchar_t* const kTroublesomeDlls[] = {
34 L"adialhk.dll", // Kaspersky Internet Security. 34 L"adialhk.dll", // Kaspersky Internet Security.
35 L"acpiz.dll", // Unknown. 35 L"acpiz.dll", // Unknown.
36 L"avgrsstx.dll", // AVG 8. 36 L"avgrsstx.dll", // AVG 8.
37 L"BabylonChromePI.dll", // Babylon translator.
37 L"btkeyind.dll", // Widcomm Bluetooth. 38 L"btkeyind.dll", // Widcomm Bluetooth.
38 L"cmcsyshk.dll", // CMC Internet Security. 39 L"cmcsyshk.dll", // CMC Internet Security.
39 L"dockshellhook.dll", // Stardock Objectdock. 40 L"dockshellhook.dll", // Stardock Objectdock.
40 L"GoogleDesktopNetwork3.DLL", // Google Desktop Search v5. 41 L"GoogleDesktopNetwork3.DLL", // Google Desktop Search v5.
41 L"fwhook.dll", // PC Tools Firewall Plus. 42 L"fwhook.dll", // PC Tools Firewall Plus.
42 L"hookprocesscreation.dll", // Blumentals Program protector. 43 L"hookprocesscreation.dll", // Blumentals Program protector.
43 L"hookterminateapis.dll", // Blumentals and Cyberprinter. 44 L"hookterminateapis.dll", // Blumentals and Cyberprinter.
44 L"hookprintapis.dll", // Cyberprinter. 45 L"hookprintapis.dll", // Cyberprinter.
45 L"imon.dll", // NOD32 Antivirus. 46 L"imon.dll", // NOD32 Antivirus.
46 L"ioloHL.dll", // Iolo (System Mechanic). 47 L"ioloHL.dll", // Iolo (System Mechanic).
(...skipping 21 matching lines...) Expand all
68 L"sahook.dll", // McAfee Site Advisor. 69 L"sahook.dll", // McAfee Site Advisor.
69 L"sbrige.dll", // Unknown. 70 L"sbrige.dll", // Unknown.
70 L"sc2hook.dll", // Supercopier 2. 71 L"sc2hook.dll", // Supercopier 2.
71 L"sguard.dll", // Iolo (System Guard). 72 L"sguard.dll", // Iolo (System Guard).
72 L"smum32.dll", // Spyware Doctor version 6. 73 L"smum32.dll", // Spyware Doctor version 6.
73 L"smumhook.dll", // Spyware Doctor version 5. 74 L"smumhook.dll", // Spyware Doctor version 5.
74 L"ssldivx.dll", // DivX. 75 L"ssldivx.dll", // DivX.
75 L"syncor11.dll", // SynthCore Midi interface. 76 L"syncor11.dll", // SynthCore Midi interface.
76 L"systools.dll", // Panda Antivirus. 77 L"systools.dll", // Panda Antivirus.
77 L"tfwah.dll", // Threatfire (PC tools). 78 L"tfwah.dll", // Threatfire (PC tools).
79 L"YCWebCameraSource.ax", // Cyberlink Camera helper.
78 L"wblind.dll", // Stardock Object desktop. 80 L"wblind.dll", // Stardock Object desktop.
79 L"wbhelp.dll", // Stardock Object desktop. 81 L"wbhelp.dll", // Stardock Object desktop.
80 L"winstylerthemehelper.dll" // Tuneup utilities 2006. 82 L"winstylerthemehelper.dll" // Tuneup utilities 2006.
81 }; 83 };
82 84
83 enum PluginPolicyCategory { 85 enum PluginPolicyCategory {
84 PLUGIN_GROUP_TRUSTED, 86 PLUGIN_GROUP_TRUSTED,
85 PLUGIN_GROUP_UNTRUSTED, 87 PLUGIN_GROUP_UNTRUSTED,
86 }; 88 };
87 89
(...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after
679 681
680 // Help the process a little. It can't start the debugger by itself if 682 // Help the process a little. It can't start the debugger by itself if
681 // the process is in a sandbox. 683 // the process is in a sandbox.
682 if (child_needs_help) 684 if (child_needs_help)
683 base::debug::SpawnDebuggerOnProcess(target.dwProcessId); 685 base::debug::SpawnDebuggerOnProcess(target.dwProcessId);
684 686
685 return process; 687 return process;
686 } 688 }
687 689
688 } // namespace sandbox 690 } // namespace sandbox
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698