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

Fix PaX check on RISC-V

    XMLWordPrintable

Details

    • b20
    • riscv
    • linux

    Backports

      Description

        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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: