orccodemem: Assorted memory mapping fixes, try 2
Hi folks,
I'm submitting this MR again (see !189 (merged)), since I realised that the existing anonymous mmap implementation had a race condition in the permissions of the views.
That needs further addressing (in the arena MR -- !178 ) so I'm submitting the bugfixes only here.
Edited by amyspark