Skip to content
  • Ian Lynagh's avatar
    Fix segfaults on SELinux machines; fixes #7629 · 27cf625a
    Ian Lynagh authored
    Patch from wgmitchener.
    
    From the ticket:
    The two addresses (adjustorStub and code) contain the same memory
    (double-mapped), but one is writable while the other is executable.
    This is how libffi works around the SELinux restrictions. On
    non-SELinux systems the code and data addresses are probably the same.
    27cf625a