On Thu, 29 May 2025 19:21:42 GMT, Alex Menkov <amen...@openjdk.org> wrote:

> Please review this small fix to update pipe mode for attach operation 
> communication.
> - `FILE_FLAG_FIRST_PIPE_INSTANCE`: there is "retry" logic if pipe creation 
> failed [1], with this flag `CreateNamedPipe` fails when pipe with the same 
> name already exists;
> - `PIPE_REJECT_REMOTE_CLIENTS`: attach works only for local processes, the 
> flag adds extra protection from remote connections.
> 
> [1]: 
> https://github.com/openjdk/jdk/blob/master/src/jdk.attach/windows/classes/sun/tools/attach/VirtualMachineImpl.java#L93
> 
> Testing: tier1..4, hs-tier5-svc

Marked as reviewed by kevinw (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/25530#pullrequestreview-2888050099

Reply via email to