summaryrefslogtreecommitdiffstats
path: root/sandbox/src/filesystem_interception.h
diff options
context:
space:
mode:
authornsylvain@google.com <nsylvain@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-06 16:18:10 +0000
committernsylvain@google.com <nsylvain@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-06 16:18:10 +0000
commitedd909b4e2e3869676b4a1720088803065a63653 (patch)
tree038b0316a43f39b4eec7ba9b087f2d25f1aaff04 /sandbox/src/filesystem_interception.h
parent9394fa97725f4f4af43d445c29c71fbd6e555283 (diff)
downloadchromium_src-edd909b4e2e3869676b4a1720088803065a63653.zip
chromium_src-edd909b4e2e3869676b4a1720088803065a63653.tar.gz
chromium_src-edd909b4e2e3869676b4a1720088803065a63653.tar.bz2
Fix the sandbox when used with the SANDBOX_EXPORTS define.
Review URL: http://codereview.chromium.org/266 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1820 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox/src/filesystem_interception.h')
-rw-r--r--sandbox/src/filesystem_interception.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sandbox/src/filesystem_interception.h b/sandbox/src/filesystem_interception.h
index faac0a4..2c336e2 100644
--- a/sandbox/src/filesystem_interception.h
+++ b/sandbox/src/filesystem_interception.h
@@ -28,20 +28,20 @@ SANDBOX_INTERCEPT NTSTATUS WINAPI TargetNtOpenFile(
// 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);