Changeset 262368 in webkit


Ignore:
Timestamp:
Jun 1, 2020 1:46:29 AM (3 years ago)
Author:
commit-queue@webkit.org
Message:

[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 <Michael Catanzaro> on 2020-06-01
Reviewed by Adrian Perez de Castro.

Dereference scmp_arg_cmp before use.

  • UIProcess/Launcher/glib/BubblewrapLauncher.cpp:

(WebKit::setupSeccomp):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r262346 r262368  
     12020-06-01  Michael Catanzaro  <mcatanzaro@gnome.org>
     2
     3        [WPE][GTK] pthread_create() fails with EPERM in the second WebKitWebProcess with sandbox on
     4        https://bugs.webkit.org/show_bug.cgi?id=212380
     5
     6        Reviewed by Adrian Perez de Castro.
     7
     8        Dereference scmp_arg_cmp before use.
     9
     10        * UIProcess/Launcher/glib/BubblewrapLauncher.cpp:
     11        (WebKit::setupSeccomp):
     12
    1132020-05-30  Alex Christensen  <achristensen@webkit.org>
    214
  • trunk/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp

    r259044 r262368  
    642642        int r;
    643643        if (rule.arg)
    644             r = seccomp_rule_add(seccomp, SCMP_ACT_ERRNO(EPERM), scall, 1, rule.arg);
     644            r = seccomp_rule_add(seccomp, SCMP_ACT_ERRNO(EPERM), scall, 1, *rule.arg);
    645645        else
    646646            r = seccomp_rule_add(seccomp, SCMP_ACT_ERRNO(EPERM), scall, 0);
Note: See TracChangeset for help on using the changeset viewer.