Merge branch 'master' of https://github.com/sandboxie-plus/Sandboxie into sandboxie-plus-master
This commit is contained in:
commit
8b519f063b
|
@ -134,6 +134,7 @@
|
|||
<DisableSpecificWarnings>
|
||||
</DisableSpecificWarnings>
|
||||
<AdditionalOptions>/Wv:18 %(AdditionalOptions)</AdditionalOptions>
|
||||
<PreprocessorDefinitions>POOL_NX_OPTIN=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Native</SubSystem>
|
||||
|
@ -200,6 +201,7 @@
|
|||
<ClCompile>
|
||||
<DisableSpecificWarnings>
|
||||
</DisableSpecificWarnings>
|
||||
<PreprocessorDefinitions>POOL_NX_OPTIN=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Native</SubSystem>
|
||||
|
|
|
@ -40,9 +40,6 @@
|
|||
<ClCompile Include="gui_xp.c">
|
||||
<Filter>xp</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="key_flt.c">
|
||||
<Filter>xp</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="key_xp.c">
|
||||
<Filter>xp</Filter>
|
||||
</ClCompile>
|
||||
|
@ -74,6 +71,7 @@
|
|||
<ClCompile Include="..\..\common\list.c">
|
||||
<Filter>common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="key_flt.c" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="alpc.h" />
|
||||
|
|
|
@ -137,8 +137,7 @@ _FX BOOLEAN Api_Init(void)
|
|||
// initialize Fast IO dispatch pointers
|
||||
//
|
||||
|
||||
Api_FastIoDispatch = ExAllocatePoolWithTag(
|
||||
NonPagedPool, sizeof(FAST_IO_DISPATCH), tzuk);
|
||||
Api_FastIoDispatch = ExAllocatePoolWithTag(NonPagedPool, sizeof(FAST_IO_DISPATCH), tzuk);
|
||||
if (! Api_FastIoDispatch) {
|
||||
Log_Status(MSG_API_DEVICE, 0, STATUS_INSUFFICIENT_RESOURCES);
|
||||
return FALSE;
|
||||
|
|
|
@ -91,8 +91,7 @@ _FX BOOLEAN Conf_Init_User(void)
|
|||
{
|
||||
List_Init(&Conf_Users);
|
||||
|
||||
Conf_Users_Event =
|
||||
ExAllocatePoolWithTag(NonPagedPool, sizeof(KEVENT), tzuk);
|
||||
Conf_Users_Event = ExAllocatePoolWithTag(NonPagedPool, sizeof(KEVENT), tzuk);
|
||||
if (! Conf_Users_Event) {
|
||||
Log_Msg0(MSG_1104);
|
||||
return FALSE;
|
||||
|
|
|
@ -142,6 +142,8 @@ _FX NTSTATUS DriverEntry(
|
|||
{
|
||||
BOOLEAN ok = TRUE;
|
||||
|
||||
ExInitializeDriverRuntime(DrvRtPoolNxOptIn);
|
||||
|
||||
//
|
||||
// initialize global driver variables
|
||||
//
|
||||
|
|
|
@ -1323,7 +1323,7 @@ _FX NTSTATUS Ipc_Api_CreateDirOrLink(PROCESS *proc, ULONG64 *parms)
|
|||
NTSTATUS status;
|
||||
HANDLE handle;
|
||||
UNICODE_STRING64 *user_uni;
|
||||
WCHAR *user_buf, *objname_buf = L"", *target_buf;
|
||||
WCHAR *user_buf, *objname_buf = NULL, *target_buf;
|
||||
ULONG user_len, objname_len, target_len;
|
||||
OBJECT_ATTRIBUTES objattrs;
|
||||
UNICODE_STRING objname, target;
|
||||
|
|
|
@ -130,8 +130,7 @@ _FX void Mem_FreeString(WCHAR *string)
|
|||
|
||||
_FX BOOLEAN Mem_GetLockResource(PERESOURCE *ppResource, BOOLEAN InitMsg)
|
||||
{
|
||||
*ppResource = ExAllocatePoolWithTag(
|
||||
NonPagedPool, sizeof(ERESOURCE), tzuk);
|
||||
*ppResource = ExAllocatePoolWithTag(NonPagedPool, sizeof(ERESOURCE), tzuk);
|
||||
if (*ppResource) {
|
||||
ExInitializeResourceLite(*ppResource);
|
||||
return TRUE;
|
||||
|
|
|
@ -58,8 +58,7 @@ static KEVENT *Process_Low_Event = NULL;
|
|||
|
||||
_FX BOOLEAN Process_Low_Init(void)
|
||||
{
|
||||
Process_Low_Event =
|
||||
ExAllocatePoolWithTag(NonPagedPool, sizeof(KEVENT), tzuk);
|
||||
Process_Low_Event = ExAllocatePoolWithTag(NonPagedPool, sizeof(KEVENT), tzuk);
|
||||
if (! Process_Low_Event) {
|
||||
Log_Msg0(MSG_1104);
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in New Issue