mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Removed unneeded code that forces ARM platforms to run PowerShell in CL mode (#7046)
This commit is contained in:
committed by
Travis Plunk
parent
ce3cb68551
commit
3eec0c42b2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user