pub unsafe fn mprotect(
ptr: *mut c_void,
len: usize,
flags: MprotectFlags
) -> Result<()>
Available on crate feature
mm
only.Expand description
mprotect(ptr, len, flags)
—Change the protection flags of a region of
memory.
Safety
Raw pointers and lots of special semantics.