Skip to contentSkip to conversation

mmap patch works in Virtualbox, not in QEMU

DISCUSSION Lev Olshvang 2 participants 2 messages Nov 19, 2017

lore
Share & tools
lore
#1 lore raw
Quoted 3 lines · Lev Olshvang

I downloaded Buidroot and buil QEMU x86_64 environment with kernel 4.9 I applied my patch to mmap (added MAP_DENYWRITE for shared libraries) before building kernel.

Did you test to make sure that it doesn't apply that flag to mmap for things
other than shared libraries? How do you identify that it's a shared library
and not something else?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 486 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20171119/c85da06a/attachment.bin