RFR: 8327114: Attach in Linux may have wrong behaviour when pid == ns_pid (Kubernetes debug container) [v2]
Sebastian Lövdahl
duke at openjdk.org
Tue May 21 16:53:02 UTC 2024
On Sun, 12 May 2024 18:38:34 GMT, Sebastian Lövdahl <duke at openjdk.org> wrote:
> In these cases, is it not a requirement that jcmd is run as root? So even if the target process is run with elevated privileges, attaching would always work. Or is there some way to attach from host to container with a non-root user that I'm missing?
Or could it work in case the container is also run as a non-`root` user?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19055#issuecomment-2123042958
More information about the serviceability-dev
mailing list