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

SA does not work if executable is DSO

    Details

    • Subcomponent:
      svc
    • Resolved In Build:
      b159
    • OS:
      linux

      Backports

        Description

        http://mail.openjdk.java.net/pipermail/serviceability-dev/2017-February/020940.html

        In modern Linux e.g. Fedora 25, executables are built as DSO for security [1].
        java command in OpenJDK which is provided by distribution is also DSO.
        However, SA does not work with DSO executables.

        Currently, OpenJDK 8 in Fedora25 is built as DSO.
        So I want to contribute this patch to JDK 8 or later release.

        [1] https://fedoraproject.org/wiki/Packaging:Guidelines#PIE

          Activity

          Hide
          ysuenaga Yasumasa Suenaga added a comment -
          Suggested fix
          Show
          ysuenaga Yasumasa Suenaga added a comment - Suggested fix
          Hide
          dholmes David Holmes added a comment -
          Moved to hotspot->svc which I think is the right component for the SA.
          Show
          dholmes David Holmes added a comment - Moved to hotspot->svc which I think is the right component for the SA.
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/hs/hotspot/rev/b3d95edd4467
          User: dsamersoff
          Date: 2017-02-13 12:29:48 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/hs/hotspot/rev/b3d95edd4467 User: dsamersoff Date: 2017-02-13 12:29:48 +0000
          Hide
          dholmes David Holmes added a comment -
          noreg-hard. Normal OpenJDK build processes do not build executables as DSO's. This would need a custom build of the JDK to be able to exercise the test.
          Show
          dholmes David Holmes added a comment - noreg-hard. Normal OpenJDK build processes do not build executables as DSO's. This would need a custom build of the JDK to be able to exercise the test.
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/b3d95edd4467
          User: lana
          Date: 2017-03-01 20:18:00 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/b3d95edd4467 User: lana Date: 2017-03-01 20:18:00 +0000

            People

            • Assignee:
              ysuenaga Yasumasa Suenaga
              Reporter:
              ysuenaga Yasumasa Suenaga
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: