pub fn add_rule(
source: &'static str,
target: &'static str,
allowed: u8,
) -> Result<(), KernelError>Expand description
Add a legacy policy rule (backward compatible with old PolicyRule::new).
Wraps the old bitmask-based API into the new structured format.