Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8342449 | 24 | Larry Cable | P4 | Closed | Fixed | b25 |
Updates in
src/jdk.attach/linux/classes/sun/tools/attach/VirtualMachineImpl.java ) access the /proc filesystem using readlink().
A policy file update enables the test to run, but this area should be using AccessController.doPrivileged(), in case this happens with a Security Manager, and there's untrusted code which then calls into attach (with whatever policy permits that to happen...).
While SM is planned for removal very soon, it would be good have the doPrivileged in the implementation so any backports can benefit.
- backported by
-
JDK-8342449 reimplement: JDK-8327114 Attach in Linux may have wrong behavior when pid == ns_pid
-
- Closed
-
- relates to
-
JDK-8327114 Attach in Linux may have wrong behaviour when pid == ns_pid (Kubernetes debug container)
-
- Resolved
-
- links to
-
Review(master) openjdk/jdk/21312