Title: [233638] trunk/Tools
Revision
233638
Author
[email protected]
Date
2018-07-09 01:56:31 -0700 (Mon, 09 Jul 2018)

Log Message

[WPE][GTK] Mount /dev/shm on /run/shm in sandbox
https://bugs.webkit.org/show_bug.cgi?id=187400

Patch by Thibault Saunier <[email protected]> on 2018-07-09
Reviewed by Philippe Normand.

This is where it is expected to be when it is a symlink,
without mounting it the websocket python server can't work
inside the sandbox.

* flatpak/flatpakutils.py:
(WebkitFlatpak.run_in_sandbox):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (233637 => 233638)


--- trunk/Tools/ChangeLog	2018-07-09 08:15:30 UTC (rev 233637)
+++ trunk/Tools/ChangeLog	2018-07-09 08:56:31 UTC (rev 233638)
@@ -1,3 +1,17 @@
+2018-07-09  Thibault Saunier  <[email protected]>
+
+        [WPE][GTK] Mount /dev/shm on /run/shm in sandbox
+        https://bugs.webkit.org/show_bug.cgi?id=187400
+
+        Reviewed by Philippe Normand.
+
+        This is where it is expected to be when it is a symlink,
+        without mounting it the websocket python server can't work
+        inside the sandbox.
+
+        * flatpak/flatpakutils.py:
+        (WebkitFlatpak.run_in_sandbox):
+
 2018-07-08  Filip Pizlo  <[email protected]>
 
         run-benchmark should run ARES-6 1.0.1

Modified: trunk/Tools/flatpak/flatpakutils.py (233637 => 233638)


--- trunk/Tools/flatpak/flatpakutils.py	2018-07-09 08:15:30 UTC (rev 233637)
+++ trunk/Tools/flatpak/flatpakutils.py	2018-07-09 08:56:31 UTC (rev 233638)
@@ -653,6 +653,7 @@
         sandbox_build_path = os.path.join(self.sandbox_source_root, "WebKitBuild", self.build_type)
         with tempfile.NamedTemporaryFile(mode="w") as tmpscript:
             flatpak_command = ["flatpak", "build", "--die-with-parent",
+                "--bind-mount=/run/shm=/dev/shm",
                 "--bind-mount=/run/host/%s=%s" % (tempfile.gettempdir(), tempfile.gettempdir()),
                 "--bind-mount=%s=%s" % (self.sandbox_source_root, self.source_root),
                 # We mount WebKitBuild/PORTNAME/BuildType to /app/webkit/WebKitBuild/BuildType
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to