1
0
Fork 0
forked from wry/wry

mmap: use MAP_PRIVATE for all keymaps

This commit is contained in:
Julian Orth 2024-12-18 11:57:01 +01:00
parent 206a2ed4fc
commit 9c73a7c7e9
4 changed files with 3 additions and 4 deletions

View file

@ -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,