Expand description
Embedder-supplied security policy trait.
Caller identity is fixed by the host-function binding’s closure; Wasm code
cannot forge a different caller value.
Structs§
- Allow
AllCheck - Default policy: allows all calls, logging each to stderr so stdout carries only the program’s result.
- Audit
Decision - A decision observation; recording must never change authorization semantics.
Enums§
Traits§
Functions§
- default_
check - denial_
reason - The reason a policy denial gives
callerforcapability.contextis the one the policy tested (SecurityCheck::audit_context), so a filesystem path is named as normalized.