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

Side by Side Diff: chrome_elf/blacklist/blacklist.h

Issue 272213006: Switching the no-finch default behavior to enable the blacklist (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Finch blacklist is now added to the hardcoded blacklist. Created 6 years, 7 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 | « chrome/browser/chrome_elf_init_win.cc ('k') | chrome_elf/blacklist/blacklist.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CHROME_ELF_BLACKLIST_BLACKLIST_H_ 5 #ifndef CHROME_ELF_BLACKLIST_BLACKLIST_H_
6 #define CHROME_ELF_BLACKLIST_BLACKLIST_H_ 6 #define CHROME_ELF_BLACKLIST_BLACKLIST_H_
7 7
8 #if defined(_WIN64) 8 #if defined(_WIN64)
9 #include "sandbox/win/src/sandbox_nt_types.h" 9 #include "sandbox/win/src/sandbox_nt_types.h"
10 #endif 10 #endif
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 // Record that the dll at the given index was blocked. 63 // Record that the dll at the given index was blocked.
64 void BlockedDll(size_t blocked_index); 64 void BlockedDll(size_t blocked_index);
65 65
66 // Initializes the DLL blacklist in the current process. This should be called 66 // Initializes the DLL blacklist in the current process. This should be called
67 // before any undesirable DLLs might be loaded. If |force| is set to true, then 67 // before any undesirable DLLs might be loaded. If |force| is set to true, then
68 // initialization will take place even if a beacon is present. This is useful 68 // initialization will take place even if a beacon is present. This is useful
69 // for tests. 69 // for tests.
70 bool Initialize(bool force); 70 bool Initialize(bool force);
71 71
72 // Add the dlls, originally passed in through finch, from the registry to the
73 // blacklist so that they will be blocked identically to those hard coded in.
74 void AddDllsFromRegistryToBlacklist();
75
72 } // namespace blacklist 76 } // namespace blacklist
73 77
74 #endif // CHROME_ELF_BLACKLIST_BLACKLIST_H_ 78 #endif // CHROME_ELF_BLACKLIST_BLACKLIST_H_
OLDNEW
« no previous file with comments | « chrome/browser/chrome_elf_init_win.cc ('k') | chrome_elf/blacklist/blacklist.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698