[jdk19u] RFR: 8295264: Fix PaX check on RISC-V
Vladimir Kempik
vkempik at openjdk.org
Wed Nov 23 21:46:06 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
Small context code difference made skara think it's not clean. Lets try to make it into 19u until 28 Nov.
-------------
Marked as reviewed by vkempik (Reviewer).
PR: https://git.openjdk.org/jdk19u/pull/91
More information about the jdk-updates-dev
mailing list