Integrated: 8295264: Fix PaX check on RISC-V
Ludovic Henry
luhenry at openjdk.org
Tue Oct 18 09:53:06 UTC 2022
On Thu, 13 Oct 2022 07:49:55 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: 4434cbb7
Author: Ludovic Henry <luhenry at openjdk.org>
Committer: Fei Yang <fyang at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/4434cbb719db37880b48474ba342f300ed4828a8
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
8295264: Fix PaX check on RISC-V
Reviewed-by: yadongwang, fyang
-------------
PR: https://git.openjdk.org/jdk/pull/10690
More information about the hotspot-runtime-dev
mailing list