using pid to namespace comparison is IMO inappropriate/misleading what
is being tested is the sharing of a common mount namespace, therefore
the test should be comparing the "mnt" namespace ids.
Rgds
- Larry
On 5/2/24 3:22 AM, Sebastian Lövdahl wrote:
On Thu, 2 May 2024 10:13:51 GMT, Sebastian Lövdahl <d...@openjdk.org> wrote:
8327114: Attach in Linux may have wrong behaviour when pid == ns_pid
(Kubernetes debug container)
This is a first stab at fixing the regression introduced in #17628. There has
been a bit of discussion in
https://mail.openjdk.org/pipermail/serviceability-dev/2024-April/055317.html
and https://mail.openjdk.org/pipermail/serviceability-dev/2024-May/055364.html
about exactly how to solve it, but this first attempt requires quite few
changes at least.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19055#issuecomment-2090105068