[][src]Function linux::syscall::mprotect

pub fn mprotect(addr: usize, len: usize, protection: c_int) -> c_int

Change the memory protection of a region.

[argument, addr] The start of the region.

[argument, len] The length of the region.

[argument, protection] The new protection.

= See also

  • link:man:mprotect(2)