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

[linux] Not all libraries in the VM are linked with -z noexecstack

    XMLWordPrintable

Details

    • b25
    • linux

    Backports

      Description

        I found that not all libraries are linked with -z,noexecstack.
        This lead to errors with our linuxppc64 build. The linker omitted
        the flag altogether, which is interpreted as a lib with execstack.

        This fix contains a small test that scans all libraries in the tested VM
        to have the noexecstack flag set. It utilizes the elf parser in the VM for this.

        Attachments

          Issue Links

            Activity

              People

                goetz Goetz Lindenmaier
                goetz Goetz Lindenmaier
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: