[PATCH 1/3] wineboot: Set the NXSupportPolicy member of the user shared data to NX_SUPPORT_POLICY_OPTIN.

Zebediah Figura z.figura12 at gmail.com
Thu Jan 28 22:08:20 CST 2021


Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---

I have been unable to locate a program that requires these. (However, due to
ease of implementation, and the fact that the ntdll side of ProcessExecuteFlags
is already implemented, I am inclined to believe that they're worth implementing
anyway.)

 programs/wineboot/wineboot.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/programs/wineboot/wineboot.c b/programs/wineboot/wineboot.c
index 05a5ee6aa62..9427448b612 100644
--- a/programs/wineboot/wineboot.c
+++ b/programs/wineboot/wineboot.c
@@ -291,6 +291,7 @@ static void create_user_shared_data(void)
     data->NtMinorVersion              = version.dwMinorVersion;
     data->SuiteMask                   = version.wSuiteMask;
     data->NumberOfPhysicalPages       = sbi.MmNumberOfPhysicalPages;
+    data->NXSupportPolicy             = NX_SUPPORT_POLICY_OPTIN;
     wcscpy( data->NtSystemRoot, L"C:\\windows" );
 
     features = data->ProcessorFeatures;
-- 
2.30.0




More information about the wine-devel mailing list