pub unsafe fn mprotect(
addr: *mut c_void,
length: usize,
prot: ProtFlags,
) -> Result<(), Errno>
Expand description
Make the mprotect
syscall, with a thin layer of type-safety over mprotect_raw
. See mprotect(2)
.
ยงSafety
See mprotect(2)
.