RFR: 8295264: Fix PaX check on RISC-V

Ludovic Henry luhenry at openjdk.org
Mon Oct 17 08:33:38 UTC 2022


On Mon, 17 Oct 2022 08:17:28 GMT, Fei Yang <fyang at openjdk.org> wrote:

> I see the LKML link mentions this: "Just remove the check altogether and let PROT_WRITE imply PROT_READ as is the case on other architectures.". Is this change still necessary then? Thanks.

That would be necessary for any older version of Linux. Also, it allows it to match all other calls to `::mmap` in hotspot.

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

PR: https://git.openjdk.org/jdk/pull/10690


More information about the hotspot-runtime-dev mailing list