RFR: 8327114: Attach in Linux may have wrong behaviour when pid == ns_pid (Kubernetes debug container) [v5]

Sebastian Lövdahl duke at openjdk.org
Mon Jul 1 17:23:20 UTC 2024


On Mon, 1 Jul 2024 12:55:24 GMT, Kevin Walls <kevinw at openjdk.org> wrote:

>(!havePidNSes && nsPid > 1)
>  I didn't get this at first, I think it's because PID 1 can't have a parent? (in the same namespace)

That was my assumption as well. Is that correct @larry-cable? Maybe it could be worth clarifying with a comment.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/19055#issuecomment-2200666442


More information about the serviceability-dev mailing list