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

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

Issue 101203010: Add 64-bit support to browser blacklisting (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: responding to comments Created 6 years, 10 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_elf/blacklist/blacklist.cc ('k') | chrome_elf/blacklist/blacklist_interceptions.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_INTERCEPTIONS_H_ 5 #ifndef CHROME_ELF_BLACKLIST_BLACKLIST_INTERCEPTIONS_H_
6 #define CHROME_ELF_BLACKLIST_BLACKLIST_INTERCEPTIONS_H_ 6 #define CHROME_ELF_BLACKLIST_BLACKLIST_INTERCEPTIONS_H_
7 7
8 #include "sandbox/win/src/nt_internals.h" 8 #include "sandbox/win/src/nt_internals.h"
9 #include "sandbox/win/src/sandbox_types.h" 9 #include "sandbox/win/src/sandbox_types.h"
10 10
(...skipping 10 matching lines...) Expand all
21 HANDLE process, 21 HANDLE process,
22 PVOID *base, 22 PVOID *base,
23 ULONG_PTR zero_bits, 23 ULONG_PTR zero_bits,
24 SIZE_T commit_size, 24 SIZE_T commit_size,
25 PLARGE_INTEGER offset, 25 PLARGE_INTEGER offset,
26 PSIZE_T view_size, 26 PSIZE_T view_size,
27 SECTION_INHERIT inherit, 27 SECTION_INHERIT inherit,
28 ULONG allocation_type, 28 ULONG allocation_type,
29 ULONG protect); 29 ULONG protect);
30 30
31 #if defined(_WIN64)
32 // Interception of NtMapViewOfSection within the current process.
33 // It should never be called directly. This function provides the means to
34 // detect dlls being loaded, so we can patch them if needed.
35 SANDBOX_INTERCEPT NTSTATUS WINAPI BlNtMapViewOfSection64(
36 HANDLE section, HANDLE process, PVOID *base, ULONG_PTR zero_bits,
37 SIZE_T commit_size, PLARGE_INTEGER offset, PSIZE_T view_size,
38 SECTION_INHERIT inherit, ULONG allocation_type, ULONG protect);
39 #endif
40
31 } // namespace blacklist 41 } // namespace blacklist
32 42
33 #endif // CHROME_ELF_BLACKLIST_BLACKLIST_INTERCEPTIONS_H_ 43 #endif // CHROME_ELF_BLACKLIST_BLACKLIST_INTERCEPTIONS_H_
OLDNEW
« no previous file with comments | « chrome_elf/blacklist/blacklist.cc ('k') | chrome_elf/blacklist/blacklist_interceptions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698