Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8295264

Fix PaX check on RISC-V

XMLWordPrintable

    • b20
    • riscv
    • linux

        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

              luhenry Ludovic Henry
              luhenry Ludovic Henry
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: