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

Unified Diff: sandbox/src/filesystem_interception.h

Issue 266: Fix the sandbox when used with the SANDBOX_EXPORTS define. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sandbox/src/policy_broker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/src/filesystem_interception.h
===================================================================
--- sandbox/src/filesystem_interception.h (revision 1675)
+++ sandbox/src/filesystem_interception.h (working copy)
@@ -28,20 +28,20 @@
// Interception of NtQueryAtttributesFile on the child process.
// It should never be called directly.
-NTSTATUS WINAPI TargetNtQueryAttributesFile(
+SANDBOX_INTERCEPT NTSTATUS WINAPI TargetNtQueryAttributesFile(
NtQueryAttributesFileFunction orig_QueryAttributes,
POBJECT_ATTRIBUTES object_attributes,
PFILE_BASIC_INFORMATION file_attributes);
// Interception of NtQueryFullAtttributesFile on the child process.
// It should never be called directly.
-NTSTATUS WINAPI TargetNtQueryFullAttributesFile(
+SANDBOX_INTERCEPT NTSTATUS WINAPI TargetNtQueryFullAttributesFile(
NtQueryFullAttributesFileFunction orig_QueryAttributes,
POBJECT_ATTRIBUTES object_attributes,
PFILE_NETWORK_OPEN_INFORMATION file_attributes);
// Interception of NtSetInformationFile on the child process.
-NTSTATUS WINAPI TargetNtSetInformationFile(
+SANDBOX_INTERCEPT NTSTATUS WINAPI TargetNtSetInformationFile(
NtSetInformationFileFunction orig_SetInformationFile, HANDLE file,
PIO_STATUS_BLOCK io_status, PVOID file_information, ULONG length,
FILE_INFORMATION_CLASS file_information_class);
« no previous file with comments | « no previous file | sandbox/src/policy_broker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698