Decide whether a hook result blocked, and the normalized decision. Pure, so the policy is unit-testable independent of spawning anything.
Folds the closed BLOCK_MECHANISMS table rather than testing three conditions inline, so a mechanism cannot be declared and left unhandled.
Decide whether a hook result blocked, and the normalized decision. Pure, so the policy is unit-testable independent of spawning anything.
Folds the closed BLOCK_MECHANISMS table rather than testing three conditions inline, so a mechanism cannot be declared and left unhandled.