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.
pub fn init() -> Result<(), KernelError>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.