Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Semaphore creation extension methods that take an ACL (dotnet/cor…
…eclr#42377) Approved API Proposal: dotnet/coreclr#41662 Description We don't currently have a way to create a Semaphore 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 object from the start. Customer impact Before this change, customers had to create a Semaphore, then set its ACLs. This presents a few problems: - Potential security hole as semaphores can be accessed between creation and modification. - Porting difficulties as there isn't a 1-1 API replacement This change addresses those problems by adding a new extension method that allows creating a Semaphore and ensuring the provided ACLs are set during creation. Signed-off-by: dotnet-bot <[email protected]> Commit migrated from dotnet/coreclr@74c369c
- Loading branch information