Title: [222731] trunk/Source/bmalloc
Revision
222731
Author
[email protected]
Date
2017-10-02 12:20:00 -0700 (Mon, 02 Oct 2017)

Log Message

[Linux] Enable Gigacage in x64 Linux environment
https://bugs.webkit.org/show_bug.cgi?id=177745

Reviewed by Carlos Garcia Campos.

This patch enables Gigacage in x64 Linux environment.
Gigacage enforces a caged pointer to reference to the
specific memory region. This reduces the effectiveness
of some types of attacks setting a pointer to ArrayBuffer
and modifying arbitrary memory region.

* bmalloc/Gigacage.h:

Modified Paths

Diff

Modified: trunk/Source/bmalloc/ChangeLog (222730 => 222731)


--- trunk/Source/bmalloc/ChangeLog	2017-10-02 19:04:09 UTC (rev 222730)
+++ trunk/Source/bmalloc/ChangeLog	2017-10-02 19:20:00 UTC (rev 222731)
@@ -1,3 +1,18 @@
+2017-10-02  Yusuke Suzuki  <[email protected]>
+
+        [Linux] Enable Gigacage in x64 Linux environment
+        https://bugs.webkit.org/show_bug.cgi?id=177745
+
+        Reviewed by Carlos Garcia Campos.
+
+        This patch enables Gigacage in x64 Linux environment.
+        Gigacage enforces a caged pointer to reference to the
+        specific memory region. This reduces the effectiveness
+        of some types of attacks setting a pointer to ArrayBuffer
+        and modifying arbitrary memory region.
+
+        * bmalloc/Gigacage.h:
+
 2017-09-29  Commit Queue  <[email protected]>
 
         Unreviewed, rolling out r222625.

Modified: trunk/Source/bmalloc/bmalloc/Gigacage.h (222730 => 222731)


--- trunk/Source/bmalloc/bmalloc/Gigacage.h	2017-10-02 19:04:09 UTC (rev 222730)
+++ trunk/Source/bmalloc/bmalloc/Gigacage.h	2017-10-02 19:20:00 UTC (rev 222731)
@@ -51,7 +51,7 @@
 #define JSVALUE_GIGACAGE_RUNWAY 0
 #define STRING_GIGACAGE_RUNWAY 0
 
-#if BOS(DARWIN) && BCPU(X86_64)
+#if (BOS(DARWIN) || BOS(LINUX)) && BCPU(X86_64)
 #define GIGACAGE_ENABLED 1
 #else
 #define GIGACAGE_ENABLED 0
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to