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

test for SO_FLOW_SLA availability does not check for EACCESS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 8u20
    • core-libs
    • b20
    • solaris_11

        When we test for the avilability of the SO_FLOW_SLA feature in Solaris we set the option on a socket and check for ENOPROTOOPT. Success, or any other error means the feature is available.

        However, EACCESS can also occur if the current process doesn't have the privilege. So, we should test for that as well.

              michaelm Michael McMahon
              michaelm Michael McMahon
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: