Documentation
¶
Overview ¶
Package redirectionguard detects the Windows RedirectionGuard process mitigation on the current process (issue #1844).
Inno Setup 6.7.0-6.7.3 leaked the mitigation from Setup into the "postinstall" [Run] child, so a tray launched from the installer ran with EnforceRedirectionTrust=1 and every uv-managed server failed with "untrusted mount point. (os error 448)". The mitigation is inherited by all upstream child processes, so the core can only tell the operator; it cannot clear the flag on itself.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Check ¶
Check inspects the current process. It always reports no warning off Windows, and when the policy cannot be read.
func WarningFor ¶
WarningFor is the pure decision: given whether EnforceRedirectionTrust is set, return the operator-facing warning. It is OS-independent so the text is unit-tested everywhere.
Types ¶
This section is empty.