From d6ca347bb88c5b265ae9d2dd208cd4c1d3e69463 Mon Sep 17 00:00:00 2001 From: Felix Marx <97086574+FelixMarxIBM@users.noreply.github.com> Date: Mon, 22 Apr 2024 23:24:35 +0200 Subject: [PATCH] Add JavaDoc for NamedPipe handling on Windows (#1621) --- .../src/main/java/net/bytebuddy/agent/VirtualMachine.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/byte-buddy-agent/src/main/java/net/bytebuddy/agent/VirtualMachine.java b/byte-buddy-agent/src/main/java/net/bytebuddy/agent/VirtualMachine.java index f0d05b5cf3..ab5125c942 100644 --- a/byte-buddy-agent/src/main/java/net/bytebuddy/agent/VirtualMachine.java +++ b/byte-buddy-agent/src/main/java/net/bytebuddy/agent/VirtualMachine.java @@ -1076,9 +1076,10 @@ public Response execute(String protocol, String... argument) { } /** - * Custom Security Descriptor is required here to "get" Medium Integrity Level. + * Custom {@link WinBase.SECURITY_ATTRIBUTES} is required here to "get" Medium Integrity Level. * In order to allow Medium Integrity Level clients to open * and use a NamedPipe created by an High Integrity Level process. + * @return A security attributes object that gives everyone read and write access. */ private WinBase.SECURITY_ATTRIBUTES createSecurityAttributesToAllowMediumIntegrity() { // Allow read/write to Everybody