Make RAM dataspaces read-only (sth similar to mprotect in Linux)