Share /gnu/store in the BubbleWrap container and remove FHS mounts. This is a Guix-specific patch not meant to be upstreamed. diff --git a/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp b/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp index f0a5e4b05dff..88b11f806968 100644 --- a/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp +++ b/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp @@ -854,27 +854,12 @@ GRefPtr bubblewrapSpawn(GSubprocessLauncher* launcher, const Proces "--ro-bind", "/sys/dev", "/sys/dev", "--ro-bind", "/sys/devices", "/sys/devices", - "--ro-bind-try", "/usr/share", "/usr/share", - "--ro-bind-try", "/usr/local/share", "/usr/local/share", "--ro-bind-try", DATADIR, DATADIR, - - // We only grant access to the libdirs webkit is built with and - // guess system libdirs. This will always have some edge cases. - "--ro-bind-try", "/lib", "/lib", - "--ro-bind-try", "/usr/lib", "/usr/lib", - "--ro-bind-try", "/usr/local/lib", "/usr/local/lib", "--ro-bind-try", LIBDIR, LIBDIR, -#if CPU(ADDRESS64) - "--ro-bind-try", "/lib64", "/lib64", - "--ro-bind-try", "/usr/lib64", "/usr/lib64", - "--ro-bind-try", "/usr/local/lib64", "/usr/local/lib64", -#else - "--ro-bind-try", "/lib32", "/lib32", - "--ro-bind-try", "/usr/lib32", "/usr/lib32", - "--ro-bind-try", "/usr/local/lib32", "/usr/local/lib32", -#endif - "--ro-bind-try", PKGLIBEXECDIR, PKGLIBEXECDIR, + + // Bind mount the store inside the WebKitGTK sandbox. + "--ro-bind", "@storedir@", "@storedir@", }; if (launchOptions.processType == ProcessLauncher::ProcessType::DBusProxy) { earch' size='10' name='q' value=''/>
path: root/AUTHORS
h>
AgeCommit message (Expand)Author
Commit message (Expand)Author
2023-10-28profiles: Hooks honor the #:system parameter of ‘profile-derivation’....Ludovic Courtès
2022-12-01gnu: bootloader: Rework chaining, add grub-efi-netboot-removable-bootloader....Stefan
2022-09-08gnu: bootloader: Report error in menu-entry....tiantian
2022-09-08gnu: bootloader: Extend `<menu-entry>' for chain-loader....tiantian
2022-08-30bootloader: Wrap lines....Mathieu Othacehe
2022-08-30bootloader: Add device-tree-support? option....Reza Alizadeh Majd
2022-08-28bootloader: Convert device in menu-entry to proper sexp....Josselin Poiret
2022-08-21bootloader: Remove expired export....Tobias Geerinckx-Rice
2021-11-17gnu: system: Improve location of some configuration warnings....Josselin Poiret
2021-08-30bootloader: Report location of the deprecated 'target' field....Ludovic Courtès
2021-08-29gnu: bootloader: Support multiple targets....Maxim Cournoyer