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

enable_smap

Function enable_smap 

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

Enable SMAP. Returns Ok(()) if enabled or already enabled, or Err if the feature is not supported.