Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

Mirror changes from dotnet/coreclr,corefx #7873

Merged
merged 7 commits into from Nov 8, 2019

Commits on Nov 8, 2019

  1. Arm64: Add S.P.CoreLib for AddV. (dotnet/coreclr#27663)

    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    TamarChristinaArm authored and dotnet-bot committed Nov 8, 2019
    Copy the full SHA
    108e0de View commit details
    Browse the repository at this point in the history
  2. Updating NumberToFloatingPointBitsSlow to handle the remaining parsed…

    … fractional digits being zero. (#27688)
    
    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    tannergooding authored and dotnet-bot committed Nov 8, 2019
    Copy the full SHA
    1fc7b9f View commit details
    Browse the repository at this point in the history
  3. Arm64: Update S.P.CoreLib for ZipLow and ZipHigh (dotnet/coreclr#27730)

    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    TamarChristinaArm authored and dotnet-bot committed Nov 8, 2019
    Copy the full SHA
    6662af5 View commit details
    Browse the repository at this point in the history
  4. Move NativeLibrary.Free null check to managed (dotnet/coreclr#27744)

    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    CoffeeFlux authored and dotnet-bot committed Nov 8, 2019
    Copy the full SHA
    a9e513b View commit details
    Browse the repository at this point in the history
  5. Arm64: Add S.P.CoreLib instrinsics UnzipEven and UnzipOdd (#27731)

    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    TamarChristinaArm authored and dotnet-bot committed Nov 8, 2019
    Copy the full SHA
    b21a954 View commit details
    Browse the repository at this point in the history
  6. Add Semaphore creation extension methods that take an ACL (#42377)

    Approved API Proposal: #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 <dotnet-bot@microsoft.com>
    carlossanlop authored and dotnet-bot committed Nov 8, 2019
    Copy the full SHA
    a10fc34 View commit details
    Browse the repository at this point in the history
  7. Add EventWaitHandle creation extension method that takes an ACL (#42213)

    * Add EventWaitHandle creation extension method that takes an ACL
    
    * Call OpenExisting, add basic unit tests, move MAX_PATH in csproj for all Windows platforms, ensure same exceptions are thrown in both netcore and netfx.
    
    * Address suggestions: using for the created handle, simplify try finally, merge methods, remove an unnecessary Debug.Assert
    
    * simplify using, reorganize PInvokes a bit, let VS format resx as it expects it, remove BOM from csproj
    
    * Add more unit tests
    
    * Save basic access rights in a constant, generate name randomly
    
    * Use FullControl (EVENT_ALL_ACCESS); update unit tests to use EventWaitHandleRights
    
    * Apply suggestion of creating an EWH, then replacing its SWH.
    
    * Remove using causing chaos, add more unit tests, remove null string unit test.
    
    * spacing
    
    * Address comments
    
    * Remove unnecessary checks/exceptions, update unit tests
    
    * Fix netfx x86 ut failure - different exception for mode validation.
    
    * Small documentation fix
    
    * Remove documentation for exception thrown with null security
    
    * more documentation fixes
    
    * New file for unit tests
    
    * Dispose and remove windows only attributes in tests
    
    * suggestion to not use var
    
    * Remove duplicate resx after merge
    
    * Readd cs files lost during merge
    
    * Remove resx modification since it was untouched for this PR
    
    * Address test comments
    
    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    carlossanlop authored and dotnet-bot committed Nov 8, 2019
    Copy the full SHA
    cb4bede View commit details
    Browse the repository at this point in the history