it: map keymap with MAP_PRIVATE
This commit is contained in:
parent
723608ce77
commit
bfe76e101b
3 changed files with 25 additions and 3 deletions
|
|
@ -31,7 +31,7 @@ impl TestVirtualKeyboard {
|
|||
uapi::lseek(memfd.raw(), 0, c::SEEK_SET).unwrap();
|
||||
uapi::fcntl_add_seals(
|
||||
memfd.raw(),
|
||||
c::F_SEAL_SEAL | c::F_SEAL_GROW | c::F_SEAL_SHRINK | c::F_SEAL_WRITE,
|
||||
c::F_SEAL_SEAL | c::F_SEAL_GROW | c::F_SEAL_SHRINK,
|
||||
)
|
||||
.unwrap();
|
||||
self.tran.send(Keymap {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue