[jdk19u] RFR: 8295264: Fix PaX check on RISC-V

Ludovic Henry luhenry at openjdk.org
Wed Nov 23 23:29:35 UTC 2022


On Wed, 23 Nov 2022 20:49:58 GMT, Ludovic Henry <luhenry at openjdk.org> wrote:

> On Linux RISC-V, PROT_WRITE doesn't imply PROT_READ [1]
> 
> The fix is to pass PROT_READ|PROT_WRITE. That matches all other calls to mmap in hotspot.
> 
> [1] https://lkml.org/lkml/2022/9/8/1066

IIUC I should wait on the label `jdk19-fix-yes` on https://bugs.openjdk.org/browse/JDK-8295264 before integrating, correct?

-------------

PR: https://git.openjdk.org/jdk19u/pull/91


More information about the jdk-updates-dev mailing list