Skip to content
  • alp@webkit.org's avatar
    2008-11-06 Alp Toker <alp@nuanti.com> · dd6f8a71
    alp@webkit.org authored
            Reviewed by Cameron Zwarich.
    
            https://bugs.webkit.org/show_bug.cgi?id=22033
            [GTK] CTI/Linux r38064 crashes; JIT requires executable memory
    
            Mark pages allocated by the FastMalloc mmap code path executable with
            PROT_EXEC. This fixes crashes seen on CPUs and kernels that enforce
            non-executable memory (like ExecShield on Fedora Linux) when the JIT
            is enabled.
    
            This patch does not resolve the issue on debug builds so affected
            developers may still need to pass --disable-jit to configure.
    
            * wtf/TCSystemAlloc.cpp:
            (TryMmap):
            (TryDevMem):
            (TCMalloc_SystemRelease):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38187 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    dd6f8a71