Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

W^X support #54954

Merged
merged 8 commits into from
Jul 11, 2021
Merged

W^X support #54954

merged 8 commits into from
Jul 11, 2021

Commits on Jun 30, 2021

  1. W^X support

    This change is the last part of enabling the W^X support. It adds the
    actual executable allocator that handles all double mapped memory
    allocations and creating the writeable mappings.
    
    The platform specific functionality is placed in a new minipal that is
    going to be a basis for future removal of Windows APIs usage from the
    native runtime.
    
    The last state of the change was tested on all the platforms that we
    support using coreclr pri 1 tests with both the W^X enabled and disabled
    using the COMPlus_EnableWXORX variable.
    
    The debugger changes were tested using the managed debugger testing
    suite on Windows x64, x86 and on Apple Silicon so far. Further testing
    on other platforms is in progress.
    janvorli committed Jun 30, 2021
    Configuration menu
    Copy the full SHA
    da19401 View commit details
    Browse the repository at this point in the history
  2. Fix FreeBSD < ver 13

    The memfd_create was introduced in 13.0 and it is equivalent to the
    shm_open(SHM_ANON, ...)
    janvorli committed Jun 30, 2021
    Configuration menu
    Copy the full SHA
    f7e7363 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2021

  1. Configuration menu
    Copy the full SHA
    74c15e2 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2021

  1. Configuration menu
    Copy the full SHA
    52a83d4 View commit details
    Browse the repository at this point in the history
  2. Replace LeafLock in UMEntryThunkFreeList by a new lock

    Also update the ordering list of the ExecutableAllocatorLock
    janvorli committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    605d67e View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2021

  1. Configuration menu
    Copy the full SHA
    2725203 View commit details
    Browse the repository at this point in the history
  2. Fix ARM write barrier icache flushing

    Also allocate LoaderHeapFreeBlock from regular heap.
    janvorli committed Jul 10, 2021
    Configuration menu
    Copy the full SHA
    357c283 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2021

  1. Configuration menu
    Copy the full SHA
    8be6e19 View commit details
    Browse the repository at this point in the history