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

Ludovic Henry luhenry at openjdk.org
Thu Nov 24 18:29:29 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

This pull request has now been integrated.

Changeset: 4b6571b4
Author:    Ludovic Henry <luhenry at openjdk.org>
Committer: Vladimir Kempik <vkempik at openjdk.org>
URL:       https://git.openjdk.org/jdk19u/commit/4b6571b4e471d414b4b45d122800135ae5f705bc
Stats:     2 lines in 1 file changed: 0 ins; 0 del; 2 mod

8295264: Fix PaX check on RISC-V

Reviewed-by: vkempik

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

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


More information about the jdk-updates-dev mailing list