Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[GTK] Bubblewrap sandbox should not break X11 forwarding
https://bugs.webkit.org/show_bug.cgi?id=221990 Patch by Michael Catanzaro <mcatanzaro@gnome.org> on 2021-03-05 Reviewed by Carlos Alberto Lopez Perez. If $DISPLAY points to a TCP socket, or a Unix socket on a different host, then we cannot isolate the web process from the network and must grant access to the host network namespace. Also, clean up some related code by adding PLATFORM(X11) guards where appropriate and removing a redundant display type check. * UIProcess/Launcher/glib/BubblewrapLauncher.cpp: (WebKit::bindWayland): (WebKit::shouldUnshareNetwork): (WebKit::bubblewrapSpawn): Canonical link: https://commits.webkit.org/234913@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@273965 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
b91d431
commit 8e4bd90156c028c69f96000e19bc20da0982b271
Showing
2 changed files
with
51 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters