[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [win-pv-devel] [PATCH] Add POOL_NX_OPTIN=1 to all drivers



> -----Original Message-----
> From: win-pv-devel [mailto:win-pv-devel-bounces@xxxxxxxxxxxxxxxxxxxx] On
> Behalf Of Owen Smith
> Sent: 29 February 2016 16:56
> To: win-pv-devel@xxxxxxxxxxxxxxxxxxxx
> Cc: Owen Smith
> Subject: [win-pv-devel] [PATCH] Add POOL_NX_OPTIN=1 to all drivers
> 
> Win10's verifier asserts that all non-paged pool allocations are
> made from the non-paged no-execute pool
> 
> Signed-off-by: Owen Smith <owen.smith@xxxxxxxxxx>

Acked-by: Paul Durrant <paul.durrant@xxxxxxxxxx>

> ---
>  vs2012/xencrsh/xencrsh.vcxproj | 2 +-
>  vs2012/xendisk/xendisk.vcxproj | 2 +-
>  vs2012/xenvbd/xenvbd.vcxproj   | 2 +-
>  vs2013/xencrsh/xencrsh.vcxproj | 2 +-
>  vs2013/xendisk/xendisk.vcxproj | 2 +-
>  vs2013/xenvbd/xenvbd.vcxproj   | 2 +-
>  6 files changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/vs2012/xencrsh/xencrsh.vcxproj
> b/vs2012/xencrsh/xencrsh.vcxproj
> index 23f469b..7af512f 100644
> --- a/vs2012/xencrsh/xencrsh.vcxproj
> +++ b/vs2012/xencrsh/xencrsh.vcxproj
> @@ -32,7 +32,7 @@
> 
>      <ItemDefinitionGroup>
>               <ClCompile>
> -
>       <PreprocessorDefinitions>__MODULE__="XENCRSH";%(Preprocess
> orDefinitions)</PreprocessorDefinitions>
> +
>       <PreprocessorDefinitions>__MODULE__="XENCRSH";POOL_NX_OP
> TIN=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
>                       <WarningLevel>EnableAllWarnings</WarningLevel>
> 
>       <DisableSpecificWarnings>4548;4711;4820;4668;4255;6001;6054;28196
> ;%(DisableSpecificWarnings)</DisableSpecificWarnings>
> 
>       <MultiProcessorCompilation>true</MultiProcessorCompilation>
> diff --git a/vs2012/xendisk/xendisk.vcxproj
> b/vs2012/xendisk/xendisk.vcxproj
> index 63337a6..c68e886 100644
> --- a/vs2012/xendisk/xendisk.vcxproj
> +++ b/vs2012/xendisk/xendisk.vcxproj
> @@ -33,7 +33,7 @@
>       <ItemDefinitionGroup>
>               <ClCompile>
>                       <BufferSecurityCheck>false</BufferSecurityCheck>
> -
>       <PreprocessorDefinitions>__MODULE__="XENDISK";%(Preprocesso
> rDefinitions)</PreprocessorDefinitions>
> +
>       <PreprocessorDefinitions>__MODULE__="XENDISK";POOL_NX_OPT
> IN=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
>                       <WarningLevel>EnableAllWarnings</WarningLevel>
> 
>       <DisableSpecificWarnings>4548;4711;4820;4668;4255;6001;6054;28196
> ;%(DisableSpecificWarnings)</DisableSpecificWarnings>
> 
>       <MultiProcessorCompilation>true</MultiProcessorCompilation>
> diff --git a/vs2012/xenvbd/xenvbd.vcxproj b/vs2012/xenvbd/xenvbd.vcxproj
> index 4680665..07fb837 100644
> --- a/vs2012/xenvbd/xenvbd.vcxproj
> +++ b/vs2012/xenvbd/xenvbd.vcxproj
> @@ -33,7 +33,7 @@
>       <ItemDefinitionGroup>
>               <ClCompile>
>                       <BufferSecurityCheck>false</BufferSecurityCheck>
> -
>       <PreprocessorDefinitions>__MODULE__="XENVBD";%(Preprocessor
> Definitions)</PreprocessorDefinitions>
> +
>       <PreprocessorDefinitions>__MODULE__="XENVBD";POOL_NX_OPTI
> N=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
>                       <WarningLevel>EnableAllWarnings</WarningLevel>
> 
>       <DisableSpecificWarnings>4548;4711;4820;4668;4255;6001;6054;28196
> ;%(DisableSpecificWarnings)</DisableSpecificWarnings>
> 
>       <MultiProcessorCompilation>true</MultiProcessorCompilation>
> diff --git a/vs2013/xencrsh/xencrsh.vcxproj
> b/vs2013/xencrsh/xencrsh.vcxproj
> index 90914d8..cfd2b5f 100644
> --- a/vs2013/xencrsh/xencrsh.vcxproj
> +++ b/vs2013/xencrsh/xencrsh.vcxproj
> @@ -61,7 +61,7 @@
>    </PropertyGroup>
>    <ItemDefinitionGroup>
>      <ClCompile>
> -
> <PreprocessorDefinitions>__MODULE__="XENCRSH";%(PreprocessorDefinit
> ions)</PreprocessorDefinitions>
> +
> <PreprocessorDefinitions>__MODULE__="XENCRSH";POOL_NX_OPTIN=1;%
> (PreprocessorDefinitions)</PreprocessorDefinitions>
>        <WarningLevel>EnableAllWarnings</WarningLevel>
> 
> <DisableSpecificWarnings>4548;4711;4820;4668;4255;6001;6054;28196;%(Disa
> bleSpecificWarnings)</DisableSpecificWarnings>
>        <MultiProcessorCompilation>true</MultiProcessorCompilation>
> diff --git a/vs2013/xendisk/xendisk.vcxproj
> b/vs2013/xendisk/xendisk.vcxproj
> index 39b9163..f5c341e 100644
> --- a/vs2013/xendisk/xendisk.vcxproj
> +++ b/vs2013/xendisk/xendisk.vcxproj
> @@ -62,7 +62,7 @@
>    <ItemDefinitionGroup>
>      <ClCompile>
>        <BufferSecurityCheck>false</BufferSecurityCheck>
> -
> <PreprocessorDefinitions>__MODULE__="XENDISK";%(PreprocessorDefiniti
> ons)</PreprocessorDefinitions>
> +
> <PreprocessorDefinitions>__MODULE__="XENDISK";POOL_NX_OPTIN=1;%(
> PreprocessorDefinitions)</PreprocessorDefinitions>
>        <WarningLevel>EnableAllWarnings</WarningLevel>
> 
> <DisableSpecificWarnings>4548;4711;4820;4668;4255;6001;6054;28196;%(Disa
> bleSpecificWarnings)</DisableSpecificWarnings>
>        <MultiProcessorCompilation>true</MultiProcessorCompilation>
> diff --git a/vs2013/xenvbd/xenvbd.vcxproj b/vs2013/xenvbd/xenvbd.vcxproj
> index 03d30aa..992a9e9 100644
> --- a/vs2013/xenvbd/xenvbd.vcxproj
> +++ b/vs2013/xenvbd/xenvbd.vcxproj
> @@ -62,7 +62,7 @@
>    <ItemDefinitionGroup>
>      <ClCompile>
>        <BufferSecurityCheck>false</BufferSecurityCheck>
> -
> <PreprocessorDefinitions>__MODULE__="XENVBD";%(PreprocessorDefiniti
> ons)</PreprocessorDefinitions>
> +
> <PreprocessorDefinitions>__MODULE__="XENVBD";POOL_NX_OPTIN=1;%(
> PreprocessorDefinitions)</PreprocessorDefinitions>
>        <WarningLevel>EnableAllWarnings</WarningLevel>
> 
> <DisableSpecificWarnings>4548;4711;4820;4668;4255;6001;6054;28196;%(Disa
> bleSpecificWarnings)</DisableSpecificWarnings>
>        <MultiProcessorCompilation>true</MultiProcessorCompilation>
> --
> 1.9.4.msysgit.1
> 
> 
> _______________________________________________
> win-pv-devel mailing list
> win-pv-devel@xxxxxxxxxxxxxxxxxxxx
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel
_______________________________________________
win-pv-devel mailing list
win-pv-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.