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

rerandomize

Function rerandomize 

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

Re-randomize non-text KASLR offsets.

Call periodically on long-running systems to refresh randomization. The kernel text offset cannot be changed since code is already mapped.

Returns the new re-randomization count, or an error if not initialized.