[PATCH openEuler-5.10-LTS 132/151] riscv: mmap with PROT_WRITE but no PROT_READ is invalid