mmap: use MAP_PRIVATE for all keymaps
This commit is contained in:
parent
206a2ed4fc
commit
9c73a7c7e9
4 changed files with 3 additions and 4 deletions
|
|
@ -57,7 +57,6 @@ impl ClientMem {
|
|||
Self::new2(fd, len, read_only, client, cpu, c::MAP_SHARED)
|
||||
}
|
||||
|
||||
#[cfg_attr(not(feature = "it"), expect(dead_code))]
|
||||
pub fn new_private(
|
||||
fd: &Rc<OwnedFd>,
|
||||
len: usize,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue