x86: Use MAP_SHARED for memory/rom region mmap && fix mode
My recent merge request !2 (merged) may have introduced a bug that you can't write to the memory regions on x86 when they are mapped out. I think this patch fixes it, I have tested it using the Hurd method and it works. Sorry for this. Please check carefully.
Edited by Damien Zammit