From: valdis.kletnieks@vt.edu (valdis.kletnieks at vt.edu) Date: Sun, 19 Nov 2017 14:56:58 -0500 Subject: mmap patch works in Virtualbox, not in QEMU In-Reply-To: <3076351511079957@web27o.yandex.ru> References: <3076351511079957@web27o.yandex.ru> Message-ID: <208423.1511121418@turing-police.cc.vt.edu> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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