[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-hotspot-runtime-dev
Subject: Re: RFR: 8295264: Fix PaX check on RISC-V
From: Ludovic Henry <luhenry () openjdk ! org>
Date: 2022-11-23 20:40:22
Message-ID: 3LHbE7WNsVdpJEt9pTfJpGkzXg5ODd6E41PsGl0fklc=.94fa0500-fc37-4b35-89e8-a47316d01843 () github ! com
[Download RAW message or body]
On Thu, 13 Oct 2022 07:49:55 GMT, Ludovic Henry <luhenry@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
It should be extremely safe to backport, and it explicits the default behavior to \
paper over a kernel bug. Let me request backport in JBS.
-------------
PR: https://git.openjdk.org/jdk/pull/10690
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic