Merge pull request #111 from carlossanlop/AnonymousPipeServerStreamAcl
authorCarlos Sanchez Lopez <1175054+carlossanlop@users.noreply.github.com>
Tue, 19 Nov 2019 17:37:42 +0000 (09:37 -0800)
committerGitHub <noreply@github.com>
Tue, 19 Nov 2019 17:37:42 +0000 (09:37 -0800)
commita16ee22782715bc9e9fc2588dd4c6a87e9335a85
tree70bffc40849ff152e6ae48a1a4c6c7101cb94f29
parent2224f8b85a6056d6969100b6378c152e6ddfbb3f
parent96a2daf24fb70507fd7f3654d51ce0c5ce2b57d5
Merge pull request #111 from carlossanlop/AnonymousPipeServerStreamAcl

Add AnonymousPipeServerStream method that takes an ACL

The original corefx PR was already signed off, but the CI did not finish on time before the 5pm deadline: dotnet/corefx#42392

Approved API proposal: dotnet/corefx#41657

We don't currently have a way to create a pipe with a given ACL in .NET Core. We can modify the ACL, but it would be more secure to have the proper ACL on the pipe from the start.

This PR adds a new static class and method that can create an AnonymousPipeServerStream taking a PipeSecurity object, reusing code that can already perform this task.