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

Side by Side Diff: content/common/sandbox_win.cc

Issue 1365353002: Add Lenovo OneKey Theater DLLs to troublesome dll list. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
« 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/common/sandbox_win.h" 5 #include "content/common/sandbox_win.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/base_switches.h" 9 #include "base/base_switches.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 // The DLLs listed here are known (or under strong suspicion) of causing crashes 46 // The DLLs listed here are known (or under strong suspicion) of causing crashes
47 // when they are loaded in the renderer. Note: at runtime we generate short 47 // when they are loaded in the renderer. Note: at runtime we generate short
48 // versions of the dll name only if the dll has an extension. 48 // versions of the dll name only if the dll has an extension.
49 // For more information about how this list is generated, and how to get off 49 // For more information about how this list is generated, and how to get off
50 // of it, see: 50 // of it, see:
51 // https://sites.google.com/a/chromium.org/dev/Home/third-party-developers 51 // https://sites.google.com/a/chromium.org/dev/Home/third-party-developers
52 const wchar_t* const kTroublesomeDlls[] = { 52 const wchar_t* const kTroublesomeDlls[] = {
53 L"adialhk.dll", // Kaspersky Internet Security. 53 L"adialhk.dll", // Kaspersky Internet Security.
54 L"acpiz.dll", // Unknown. 54 L"acpiz.dll", // Unknown.
55 L"activedetect32.dll", // Lenovo One Key Theater (crbug.com/536056).
56 L"activedetect64.dll", // Lenovo One Key Theater (crbug.com/536056).
55 L"airfoilinject3.dll", // Airfoil. 57 L"airfoilinject3.dll", // Airfoil.
56 L"akinsofthook32.dll", // Akinsoft Software Engineering. 58 L"akinsofthook32.dll", // Akinsoft Software Engineering.
57 L"assistant_x64.dll", // Unknown. 59 L"assistant_x64.dll", // Unknown.
58 L"avcuf64.dll", // Bit Defender Internet Security x64. 60 L"avcuf64.dll", // Bit Defender Internet Security x64.
59 L"avgrsstx.dll", // AVG 8. 61 L"avgrsstx.dll", // AVG 8.
60 L"babylonchromepi.dll", // Babylon translator. 62 L"babylonchromepi.dll", // Babylon translator.
61 L"btkeyind.dll", // Widcomm Bluetooth. 63 L"btkeyind.dll", // Widcomm Bluetooth.
62 L"cmcsyshk.dll", // CMC Internet Security. 64 L"cmcsyshk.dll", // CMC Internet Security.
63 L"cmsetac.dll", // Unknown (suspected malware). 65 L"cmsetac.dll", // Unknown (suspected malware).
64 L"cooliris.dll", // CoolIris. 66 L"cooliris.dll", // CoolIris.
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 L"sdhook32.dll", // Spybot - Search & Destroy Live Protection. 114 L"sdhook32.dll", // Spybot - Search & Destroy Live Protection.
113 L"sguard.dll", // Iolo (System Guard). 115 L"sguard.dll", // Iolo (System Guard).
114 L"smum32.dll", // Spyware Doctor version 6. 116 L"smum32.dll", // Spyware Doctor version 6.
115 L"smumhook.dll", // Spyware Doctor version 5. 117 L"smumhook.dll", // Spyware Doctor version 5.
116 L"ssldivx.dll", // DivX. 118 L"ssldivx.dll", // DivX.
117 L"syncor11.dll", // SynthCore Midi interface. 119 L"syncor11.dll", // SynthCore Midi interface.
118 L"systools.dll", // Panda Antivirus. 120 L"systools.dll", // Panda Antivirus.
119 L"tfwah.dll", // Threatfire (PC tools). 121 L"tfwah.dll", // Threatfire (PC tools).
120 L"wblind.dll", // Stardock Object desktop. 122 L"wblind.dll", // Stardock Object desktop.
121 L"wbhelp.dll", // Stardock Object desktop. 123 L"wbhelp.dll", // Stardock Object desktop.
124 L"windowsapihookdll32.dll", // Lenovo One Key Theater (crbug.com/536056).
125 L"windowsapihookdll64.dll", // Lenovo One Key Theater (crbug.com/536056).
122 L"winstylerthemehelper.dll" // Tuneup utilities 2006. 126 L"winstylerthemehelper.dll" // Tuneup utilities 2006.
123 }; 127 };
124 128
125 #if !defined(NACL_WIN64) 129 #if !defined(NACL_WIN64)
126 // Adds the policy rules for the path and path\ with the semantic |access|. 130 // Adds the policy rules for the path and path\ with the semantic |access|.
127 // If |children| is set to true, we need to add the wildcard rules to also 131 // If |children| is set to true, we need to add the wildcard rules to also
128 // apply the rule to the subfiles and subfolders. 132 // apply the rule to the subfiles and subfolders.
129 bool AddDirectory(int path, const wchar_t* sub_dir, bool children, 133 bool AddDirectory(int path, const wchar_t* sub_dir, bool children,
130 sandbox::TargetPolicy::Semantics access, 134 sandbox::TargetPolicy::Semantics access,
131 sandbox::TargetPolicy* policy) { 135 sandbox::TargetPolicy* policy) {
(...skipping 731 matching lines...) Expand 10 before | Expand all | Expand 10 after
863 } 867 }
864 868
865 return false; 869 return false;
866 } 870 }
867 871
868 bool BrokerAddTargetPeer(HANDLE peer_process) { 872 bool BrokerAddTargetPeer(HANDLE peer_process) {
869 return g_broker_services->AddTargetPeer(peer_process) == sandbox::SBOX_ALL_OK; 873 return g_broker_services->AddTargetPeer(peer_process) == sandbox::SBOX_ALL_OK;
870 } 874 }
871 875
872 } // namespace content 876 } // namespace content
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