mmap patch works in Virtualbox, not in QEMU

valdis.kletnieks at vt.edu valdis.kletnieks at vt.edu
Sun Nov 19 14:56:58 EST 2017


On Sun, 19 Nov 2017 11:25:57 +0300, Lev Olshvang said:

> 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 


More information about the Kernelnewbies mailing list