RFR: 8226919: attach in linux hangs due to permission denied accessing /proc/pid/root
Larry Cable
duke at openjdk.org
Wed May 1 20:33:05 UTC 2024
On Wed, 1 May 2024 20:07:00 GMT, Larry Cable <duke at openjdk.org> wrote:
>> c.f: /proc/<pid>/ns/pid
>>
>> every (Linux) namespace has a unique id, if 2 (or more) processes occupy the same pid namespace (or any other for that matter) then their ../ns/pid namespace ids will be the same.
>
> **`Files.readSymbolicLink(Path.of("/proc/self/ns/pid"))`**
h'mmm ignore my ramblings for now, I need to spend some more time looking into this before wading into the fray with random opinions etc!
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/17628#discussion_r1586791713
More information about the serviceability-dev
mailing list