2008-11-06 Alp Toker <alp@nuanti.com>
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
Showing
Please register or sign in to comment