Title: [264073] releases/WebKitGTK/webkit-2.28/Source/WebKit
Revision
264073
Author
[email protected]
Date
2020-07-08 02:02:39 -0700 (Wed, 08 Jul 2020)

Log Message

Merge r262368 - [WPE][GTK] pthread_create() fails with EPERM in the second WebKitWebProcess with sandbox on
https://bugs.webkit.org/show_bug.cgi?id=212380

Patch by Michael Catanzaro <[email protected]> on 2020-06-01
Reviewed by Adrian Perez de Castro.

Dereference scmp_arg_cmp before use.

* UIProcess/Launcher/glib/BubblewrapLauncher.cpp:
(WebKit::setupSeccomp):

Modified Paths

Diff

Modified: releases/WebKitGTK/webkit-2.28/Source/WebKit/ChangeLog (264072 => 264073)


--- releases/WebKitGTK/webkit-2.28/Source/WebKit/ChangeLog	2020-07-08 09:02:35 UTC (rev 264072)
+++ releases/WebKitGTK/webkit-2.28/Source/WebKit/ChangeLog	2020-07-08 09:02:39 UTC (rev 264073)
@@ -1,3 +1,15 @@
+2020-06-01  Michael Catanzaro  <[email protected]>
+
+        [WPE][GTK] pthread_create() fails with EPERM in the second WebKitWebProcess with sandbox on
+        https://bugs.webkit.org/show_bug.cgi?id=212380
+
+        Reviewed by Adrian Perez de Castro.
+
+        Dereference scmp_arg_cmp before use.
+
+        * UIProcess/Launcher/glib/BubblewrapLauncher.cpp:
+        (WebKit::setupSeccomp):
+
 2020-04-24  Adrian Perez de Castro  <[email protected]>
 
         Unreviewed. Update OptionsWPE.cmake and NEWS for the 2.28.2 release

Modified: releases/WebKitGTK/webkit-2.28/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp (264072 => 264073)


--- releases/WebKitGTK/webkit-2.28/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp	2020-07-08 09:02:35 UTC (rev 264072)
+++ releases/WebKitGTK/webkit-2.28/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp	2020-07-08 09:02:39 UTC (rev 264073)
@@ -641,7 +641,7 @@
         int scall = rule.scall;
         int r;
         if (rule.arg)
-            r = seccomp_rule_add(seccomp, SCMP_ACT_ERRNO(EPERM), scall, 1, rule.arg);
+            r = seccomp_rule_add(seccomp, SCMP_ACT_ERRNO(EPERM), scall, 1, *rule.arg);
         else
             r = seccomp_rule_add(seccomp, SCMP_ACT_ERRNO(EPERM), scall, 0);
         if (r == -EFAULT) {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to