pub fn sys_mprotect(&self, addr: usize, len: usize, prot: usize) -> SysResult {
        let prot = MmapProt::from_bits_truncate(prot);
        info!(
            "mprotect: addr={:#x}, size={:#x}, prot={:?}",
            addr, len, prot
        );
        warn!("mprotect: unimplemented");
        Ok(0)
    }
/// changes the access protections for the calling process's memory pages
/// containing any part of the address range in the interval [addr, addr+len-1]
/// TODO: unimplemented
changes the access protections for the calling process's memory pages
containing any part of the address range in the interval [addr, addr+len-1]
TODO: unimplemented
changes the access protections for the calling process ' s memory pages containing any part of the address range in the interval [ addr addr + len - 1 ] TODO : unimplemented
pub fn sys_mprotect(&self, addr: usize, len: usize, prot: usize) -> SysResult {
        let prot = MmapProt::from_bits_truncate(prot);
        info!(
            "mprotect: addr={:#x}, size={:#x}, prot={:?}",
            addr, len, prot
        );
        warn!("mprotect: unimplemented");
        Ok(0)
    }
pub fn sys_mprotect ( & self , addr : usize , len : usize , prot : usize ) -> SysResult { let prot = MmapProt :: from_bits_truncate ( prot ) ; info ! ( " " addr len prot ) ; warn ! ( " " ) ; Ok ( 0 ) }
changes the access protections for the calling process's memory pages
containing any part of the address range in the interval [addr, addr+len-1]
TODO: unimplemented
changes the access protections for the calling process ' s memory pages containing any part of the address range in the interval [ addr addr + len - 1 ] TODO : unimplemented
&self
addr
usize
len
usize
prot
usize
&self
addr
usize
len
usize
prot
usize