JDK-8205503 : SA: runOnCore() of ClhsdbLauncher incorrectly checks for the ptrace related attach permissions
  • Type: Bug
  • Component: hotspot
  • Sub-Component: svc-agent
  • Affected Version: 11
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2018-06-22
  • Updated: 2018-07-11
  • Resolved: 2018-07-10
Related Reports
Duplicate :  
Description
ClhsdbLauncher.runCore() checks for Platform.shouldSAAttach(), which includes checks to see if you have ptrace related attach permissions and if you are "root" in case of OSX . Since this is corefile debugging, there is no need to check for these permissions since corefile debugging would not require super user privileges.
Comments
The changes of JDK-8199700 include removing the check for Platform.shouldSAAttach() for ClhsdbLauncher.runCore().
11-07-2018