After a memory has been unmapped, protection mode can now be changed when mapping it again.
See https://bugzilla.gnome.org/show_bug.cgi?id=789952.