pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

webkit-gtk: Add a note about possible NOT_PAX_MPROTECT_SAFE



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Mon Oct 8 02:07:11 2018 +0200
Changeset:	0994953b3ac438f96ac9e8920012b81abba05a89

Modified Files:
	webkit-gtk/TODO

Log Message:
webkit-gtk: Add a note about possible NOT_PAX_MPROTECT_SAFE

Despite the JIT support and webkit-jit option, webkit-gtk is probably
handling gracefully EACCESS errors of mmap().

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0994953b3ac438f96ac9e8920012b81abba05a89

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 webkit-gtk/TODO | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diffs:
diff --git a/webkit-gtk/TODO b/webkit-gtk/TODO
index 9328f27415..f474991ff4 100644
--- a/webkit-gtk/TODO
+++ b/webkit-gtk/TODO
@@ -1,3 +1,21 @@
+- On NetBSD/amd64, running SunSpider 1.0.2 JavaScript Benchmark
+  (<https://webkit.org/perf/sunspider/sunspider.html>) with MiniBrowser
+  and security.pax.mprotect.global=1:
+
+    Total:                 1006.9ms +/- 0.7%
+
+  ...while with security.pax.mprotect.global=0:
+
+    Total:                 322.3ms +/- 3.0%
+
+  Test if just adding:
+
+   NOT_PAX_MPROTECT_SAFE+= libexec/webkit2gtk-4.0/jsc
+   NOT_PAX_MPROTECT_SAFE+= libexec/webkit2gtk-4.0/WebKitWebProcess
+
+  leads to the same results.
+  (The webkit-gtk browsers probably don't need any NOT_PAX_MPROTECT_SAFE
+  because they use WebKitWebProcess)
 - For OS(NETBSD) in Source/WTF/wtf/Platform.h we can probably define:
    #define HAVE_MADV_FREE 1
    #define HAVE_MADV_DONTNEED 1


Home | Main Index | Thread Index | Old Index