pub fn register_alert_callback(
callback: &'static dyn AlertCallback,
) -> Result<(), KernelError>Expand description
Register a real-time alert callback.
The callback will be invoked for critical events such as authentication failures, permission denials, and privilege escalation attempts.
Returns Ok(()) if registered, or Err if all callback slots are full.