| Index: sandbox/win/src/filesystem_interception.cc
|
| diff --git a/sandbox/win/src/filesystem_interception.cc b/sandbox/win/src/filesystem_interception.cc
|
| index 26d790c5c259fd2bd5b7dfa6c771d1d1e45f10d9..459f7ace2d66612442b069c036cab51b2f10ec75 100644
|
| --- a/sandbox/win/src/filesystem_interception.cc
|
| +++ b/sandbox/win/src/filesystem_interception.cc
|
| @@ -3,8 +3,6 @@
|
| // found in the LICENSE file.
|
|
|
| #include "sandbox/win/src/filesystem_interception.h"
|
| -
|
| -#include <stdint.h>
|
|
|
| #include "sandbox/win/src/crosscall_client.h"
|
| #include "sandbox/win/src/ipc_tags.h"
|
| @@ -48,16 +46,16 @@
|
| if (NULL == memory)
|
| break;
|
|
|
| - uint32_t attributes = 0;
|
| + uint32 attributes = 0;
|
| NTSTATUS ret = AllocAndCopyName(object_attributes, &name, &attributes,
|
| NULL);
|
| if (!NT_SUCCESS(ret) || NULL == name)
|
| break;
|
|
|
| - uint32_t desired_access_uint32 = desired_access;
|
| - uint32_t options_uint32 = options;
|
| - uint32_t disposition_uint32 = disposition;
|
| - uint32_t broker = FALSE;
|
| + uint32 desired_access_uint32 = desired_access;
|
| + uint32 options_uint32 = options;
|
| + uint32 disposition_uint32 = disposition;
|
| + uint32 broker = FALSE;
|
| CountedParameterSet<OpenFile> params;
|
| params[OpenFile::NAME] = ParamPickerMake(name);
|
| params[OpenFile::ACCESS] = ParamPickerMake(desired_access_uint32);
|
| @@ -124,16 +122,16 @@
|
| if (NULL == memory)
|
| break;
|
|
|
| - uint32_t attributes;
|
| + uint32 attributes;
|
| NTSTATUS ret = AllocAndCopyName(object_attributes, &name, &attributes,
|
| NULL);
|
| if (!NT_SUCCESS(ret) || NULL == name)
|
| break;
|
|
|
| - uint32_t desired_access_uint32 = desired_access;
|
| - uint32_t options_uint32 = options;
|
| - uint32_t disposition_uint32 = FILE_OPEN;
|
| - uint32_t broker = FALSE;
|
| + uint32 desired_access_uint32 = desired_access;
|
| + uint32 options_uint32 = options;
|
| + uint32 disposition_uint32 = FILE_OPEN;
|
| + uint32 broker = FALSE;
|
| CountedParameterSet<OpenFile> params;
|
| params[OpenFile::NAME] = ParamPickerMake(name);
|
| params[OpenFile::ACCESS] = ParamPickerMake(desired_access_uint32);
|
| @@ -194,7 +192,7 @@
|
| if (NULL == memory)
|
| break;
|
|
|
| - uint32_t attributes = 0;
|
| + uint32 attributes = 0;
|
| NTSTATUS ret = AllocAndCopyName(object_attributes, &name, &attributes,
|
| NULL);
|
| if (!NT_SUCCESS(ret) || NULL == name)
|
| @@ -203,7 +201,7 @@
|
| InOutCountedBuffer file_info(file_attributes,
|
| sizeof(FILE_BASIC_INFORMATION));
|
|
|
| - uint32_t broker = FALSE;
|
| + uint32 broker = FALSE;
|
| CountedParameterSet<FileName> params;
|
| params[FileName::NAME] = ParamPickerMake(name);
|
| params[FileName::BROKER] = ParamPickerMake(broker);
|
| @@ -253,7 +251,7 @@
|
| if (NULL == memory)
|
| break;
|
|
|
| - uint32_t attributes = 0;
|
| + uint32 attributes = 0;
|
| NTSTATUS ret = AllocAndCopyName(object_attributes, &name, &attributes,
|
| NULL);
|
| if (!NT_SUCCESS(ret) || NULL == name)
|
| @@ -262,7 +260,7 @@
|
| InOutCountedBuffer file_info(file_attributes,
|
| sizeof(FILE_NETWORK_OPEN_INFORMATION));
|
|
|
| - uint32_t broker = FALSE;
|
| + uint32 broker = FALSE;
|
| CountedParameterSet<FileName> params;
|
| params[FileName::NAME] = ParamPickerMake(name);
|
| params[FileName::BROKER] = ParamPickerMake(broker);
|
| @@ -335,7 +333,7 @@
|
| if (!NT_SUCCESS(ret) || !name)
|
| break;
|
|
|
| - uint32_t broker = FALSE;
|
| + uint32 broker = FALSE;
|
| CountedParameterSet<FileName> params;
|
| params[FileName::NAME] = ParamPickerMake(name);
|
| params[FileName::BROKER] = ParamPickerMake(broker);
|
|
|