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

init

Function init 

Source
pub fn init() -> Result<(), KernelError>
Expand description

Detect and enable SMEP/SMAP (or platform equivalents).

Called during early boot from security::init(). Non-fatal: logs status but does not fail the boot if the CPU lacks support.