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

check_access

Function check_access 

Source
pub fn check_access(source: &str, target: &str, access: AccessType) -> bool
Expand description

Check if access is allowed by MAC policy.

This is the primary access check function. It evaluates deny rules first (deny overrides allow), then checks for a matching allow rule.