Skip to content
Snippets Groups Projects
Commit c9fe4221 authored by Simon McVittie's avatar Simon McVittie
Browse files

wrap: Always mount /tmp from host for now


SteamHTMLSurface and SteamVR use this as a rendezvous directory for
IPC. A future version of pressure-vessel should have a more strict mode
that shares less with the host.

Resolves: pressure-vessel#10
Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 464bac08
Branches
Tags
No related merge requests found
......@@ -1625,6 +1625,12 @@ main (int argc,
flatpak_bwrap_add_arg (bwrap, "--unshare-pid");
}
/* Always export /tmp for now. SteamVR uses this as a rendezvous
* directory for IPC. */
flatpak_exports_add_path_expose (exports,
FLATPAK_FILESYSTEM_MODE_READ_WRITE,
"/tmp");
g_debug ("Adjusting LD_PRELOAD...");
/* We need the LD_PRELOADs from Steam visible at the paths that were
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment