(&self, addr: u64, length: u64)
| 465 | } |
| 466 | |
| 467 | fn munlock(&self, addr: u64, length: u64) -> result::Result<(), Error> { |
| 468 | // SAFETY: [`base`, `base` + `len`) is guest memory |
| 469 | self.operate_on_memory_range(addr, length, |base, len| unsafe { |
| 470 | libc::munlock(base, len) |
| 471 | }) |
| 472 | } |
| 473 | |
| 474 | fn mprotect( |
| 475 | &self, |
no test coverage detected