[webkit-changes] [WebKit/WebKit] 4c39f3: [GLib] Re-enable bwrap sandbox in containers when ...
Patrick
noreply at github.com
Thu May 18 03:36:23 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4c39f38757287198c49091ee12fc548cc9c212d6
https://github.com/WebKit/WebKit/commit/4c39f38757287198c49091ee12fc548cc9c212d6
Author: Patrick Griffis <pgriffis at igalia.com>
Date: 2023-05-18 (Thu, 18 May 2023)
Changed paths:
M Source/WTF/wtf/glib/Sandbox.cpp
M Source/WTF/wtf/glib/Sandbox.h
M Source/WebKit/UIProcess/Launcher/glib/ProcessLauncherGLib.cpp
Log Message:
-----------
[GLib] Re-enable bwrap sandbox in containers when supported
https://bugs.webkit.org/show_bug.cgi?id=256917
Reviewed by Michael Catanzaro.
This detects if bwrap actually works inside of a container instead
of always disabling it.
* Source/WTF/wtf/glib/Sandbox.cpp:
(WTF::isInsideUnsupportedContainer):
(WTF::isInsideContainer): Deleted.
* Source/WTF/wtf/glib/Sandbox.h:
* Source/WebKit/UIProcess/Launcher/glib/ProcessLauncherGLib.cpp:
(WebKit::ProcessLauncher::launchProcess):
Canonical link: https://commits.webkit.org/264196@main
More information about the webkit-changes
mailing list