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

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

Issue 107663008: Chrome browser process DLL blacklist. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Greg's feedback. Created 7 years 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_ELF_BLACKLIST_BLACKLIST_INTERCEPTIONS_H_
6 #define CHROME_ELF_BLACKLIST_BLACKLIST_INTERCEPTIONS_H_
7
8 #include "sandbox/win/src/nt_internals.h"
9 #include "sandbox/win/src/sandbox_types.h"
10
11 namespace blacklist {
12
13 // Interception of NtMapViewOfSection within the current process.
14 // It should never be called directly. This function provides the means to
15 // detect dlls being loaded, so we can patch them if needed.
16 SANDBOX_INTERCEPT NTSTATUS WINAPI BlNtMapViewOfSection(
17 NtMapViewOfSectionFunction orig_MapViewOfSection,
18 HANDLE section,
19 HANDLE process,
20 PVOID *base,
21 ULONG_PTR zero_bits,
22 SIZE_T commit_size,
23 PLARGE_INTEGER offset,
24 PSIZE_T view_size,
25 SECTION_INHERIT inherit,
26 ULONG allocation_type,
27 ULONG protect);
28
29 } // namespace blacklist
30
31 #endif // CHROME_ELF_BLACKLIST_BLACKLIST_INTERCEPTIONS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698