[Webkit-unassigned] [Bug 215212] New: [GLIB] Wrong argument order for clone syscall seccomp filter on s390x

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 6 04:37:08 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=215212

            Bug ID: 215212
           Summary: [GLIB] Wrong argument order for clone syscall seccomp
                    filter on s390x
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: berto at igalia.com
                CC: bugs-noreply at webkitgtk.org

It seems that the order of the arguments in the clone() syscall depends on the architecture (you can see that in the clone(2) manpage).

We use that in WebKit's seccomp filter (glib/BubblewrapLauncher.cpp), and this is broken in s390x at least.

Flatpak is also affected, and we are using the same code. Here's the fix for Flatpak: https://github.com/flatpak/flatpak/pull/3777/commits/6d70aabc03f0389e548911b14446d702a07b016c

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200806/19a4d71b/attachment-0001.htm>


More information about the webkit-unassigned mailing list