⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

load_policy

Function load_policy 

Source
pub fn load_policy(policy_text: &'static str) -> Result<(), KernelError>
Expand description

Load a policy from text.

Parses the policy text and adds all rules, transitions, roles, and user mappings to the active policy database.

The input MUST have 'static lifetime (e.g., a const string literal).