This repository has been archived on 2024-11-07. You can view files and clone it, but cannot push or open issues or pull requests.
libwebkit-gtk3/libwebkit-gtk-1.3.10-no-execmem.patch

12 lines
508 B
Diff
Raw Normal View History

--- Source/JavaScriptCore/wtf/Platform.h 2011-01-11 02:07:11.000000000 +0100
+++ Source/JavaScriptCore/wtf/Platform.h-gil 2011-01-26 09:59:21.000000000 +0100
@@ -1036,7 +1036,7 @@
#endif
/* Setting this flag prevents the assembler from using RWX memory; this may improve
security but currectly comes at a significant performance cost. */
-#if PLATFORM(IOS)
+#if PLATFORM(IOS) || PLATFORM(X86) || PLATFORM(X86_64)
#define ENABLE_ASSEMBLER_WX_EXCLUSIVE 1
#else
#define ENABLE_ASSEMBLER_WX_EXCLUSIVE 0