First post, by asabjorn
Hi,
We are writing an emulator and need to allow mmap from address zero when emulating a testsuite. I talked with the wine guys and they said they use dosbox for programs that map from zero. I am seeking information about how you allow mmap from zero.
We only need 'mmap_zero' for a testsuite, emufuzzer, that tests our implementation of x86. Due to how the testsuite works it is not desirable to change the code to not require mmap_zero.
The current solution I am looking at,
sysctl -w vm.mmap_min_addr="0"
is not desirable since it open up mmap_zero system-wide.
Please let me know if you have any tips on how you allowed mmap_zero.
Best,
Andy