[PATCH] riscv: mmap with PROT_WRITE but no PROT_READ is invalid

Conor Dooley conor at kernel.org
Thu Oct 6 13:03:07 PDT 2022


On Thu, Oct 06, 2022 at 10:55:00PM +0300, Eva Kotova wrote:
> Patch "[PATCH v4 2/2] riscv: Allow PROT_WRITE-only mmap()" applied cleanly
> over 5.19, fixed issues with OpenJDK.
> 
> I assume this is not yet merged into linux-next, because problem persists
> there, hope this gets merged soon.

Yeah, not been applied yet. If you reply with a Tested-by that will help
though! Would be good to also note that it breaks userspace.
FYI, you've got an issue with your mail client, my msg-id from my last
mail (Yz8r71PjHlpLy+kR at spud) ended up as the reply-to address for this
one. The first email you sent tonight was fine though.

Thanks,
Conor.




More information about the linux-riscv mailing list