Function set_page_protection

Source
pub fn set_page_protection(
    addr: *mut u8,
    len: usize,
    mode: ProtectionMode,
) -> Result<(), MemoryError>
Expand description

Adjust the protection mode for a given memory range.