Skip to content

Commit d6ca347

Browse files
authored
Add JavaDoc for NamedPipe handling on Windows (#1621)
1 parent 0a91a85 commit d6ca347

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

byte-buddy-agent/src/main/java/net/bytebuddy/agent/VirtualMachine.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1076,9 +1076,10 @@ public Response execute(String protocol, String... argument) {
10761076
}
10771077

10781078
/**
1079-
* Custom Security Descriptor is required here to "get" Medium Integrity Level.
1079+
* Custom {@link WinBase.SECURITY_ATTRIBUTES} is required here to "get" Medium Integrity Level.
10801080
* In order to allow Medium Integrity Level clients to open
10811081
* and use a NamedPipe created by an High Integrity Level process.
1082+
* @return A security attributes object that gives everyone read and write access.
10821083
*/
10831084
private WinBase.SECURITY_ATTRIBUTES createSecurityAttributesToAllowMediumIntegrity() {
10841085
// Allow read/write to Everybody

0 commit comments

Comments
 (0)