<div>Hi</div><div> </div><div>I have strange problem testing my patch.</div><div> </div><div> </div><div>I work in Virtual Box on Windoes running Ubuntu 16.10.</div><div> </div><div>I downloaded Buidroot and buil QEMU x86_64 environment with kernel 4.9</div><div>I applied my patch to mmap (added MAP_DENYWRITE for shared libraries) before building kernel.</div><div>the I run qemu with patched kernel image , but no effect of MAP_DENYWRITE .</div><div> </div><div> </div><div>So I decided to check Virtual box Ubuntu. I applied the same patch, built new Ubuntu kernel. Then I rebooted Virtual box machine and selected new kernel, kernel worked as expected rejecting attempts to change shared library while in use.</div><div> </div><div>Please advice.</div><div> </div><div>Lev.</div><div> </div><div> </div><div> </div><div> </div><div> </div><div> </div><div> </div>