From 3eec0c42b2348ce3fc59f80b39f2aba80542effb Mon Sep 17 00:00:00 2001 From: Paul Higinbotham Date: Wed, 13 Jun 2018 12:01:32 -0700 Subject: [PATCH] Removed unneeded code that forces ARM platforms to run PowerShell in CL mode (#7046) --- .../security/wldpNativeMethods.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/System.Management.Automation/security/wldpNativeMethods.cs b/src/System.Management.Automation/security/wldpNativeMethods.cs index 4e96fdfb24..24ab621ccd 100644 --- a/src/System.Management.Automation/security/wldpNativeMethods.cs +++ b/src/System.Management.Automation/security/wldpNativeMethods.cs @@ -338,11 +338,6 @@ namespace System.Management.Automation.Security private static SystemEnforcementMode GetDebugLockdownPolicy(string path) { - if (PsUtils.IsRunningOnProcessorArchitectureARM()) - { - return SystemEnforcementMode.Enforce; - } - s_wasSystemPolicyDebugPolicy = true; // Support fall-back debug hook for path exclusions on non-WOA platforms