[webkit-changes] [WebKit/WebKit] 9fc6b8: [WPE][GTK] when flatpak sandbox unavailable, proce...
Michael Catanzaro
noreply at github.com
Mon Sep 9 13:25:47 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9fc6b8810c5244dc3acfe90ee9962b9706b637cb
https://github.com/WebKit/WebKit/commit/9fc6b8810c5244dc3acfe90ee9962b9706b637cb
Author: Michael Catanzaro <mcatanzaro at redhat.com>
Date: 2024-09-09 (Mon, 09 Sep 2024)
Changed paths:
M Source/WebKit/UIProcess/Launcher/glib/FlatpakLauncher.cpp
M Source/WebKit/UIProcess/Launcher/glib/ProcessLauncherGLib.cpp
Log Message:
-----------
[WPE][GTK] when flatpak sandbox unavailable, processes are run unsandboxed with no warning
https://bugs.webkit.org/show_bug.cgi?id=278578
Reviewed by Carlos Garcia Campos.
If we're running under flatpak, but flatpak-spawn doesn't work, it's
probably better to crash rather than continue to run unsandboxed. This
probably indicates a developer is experimenting, but it could be serious
if it happens by accident for an end user.
* Source/WebKit/UIProcess/Launcher/glib/FlatpakLauncher.cpp:
(WebKit::isFlatpakSpawnUsable):
(WebKit::flatpakSpawn):
* Source/WebKit/UIProcess/Launcher/glib/ProcessLauncherGLib.cpp:
(WebKit::ProcessLauncher::launchProcess):
(WebKit::isFlatpakSpawnUsable): Deleted.
Canonical link: https://commits.webkit.org/283361@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list