summaryrefslogtreecommitdiff
path: root/doc/flatpak-metadata.xml
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2021-02-16 18:51:23 +0000
committerAlexander Larsson <alexander.larsson@gmail.com>2021-04-16 08:57:20 +0200
commitcb47d83b7221de7f08a487dd47e69eec57f458e5 (patch)
tree6e9eb082a683eb052edd2d1997d01f99a7ed23a1 /doc/flatpak-metadata.xml
parent70a3e44fb59acd9067ca8148931eb3e23acb15b1 (diff)
downloadflatpak-cb47d83b7221de7f08a487dd47e69eec57f458e5.tar.gz
run: Add option to share /dev/shm between instances of an app-ID
Similar to /tmp, applications might well use /dev/shm as an IPC rendezvous between instances, which wouldn't have worked without --device=shm until now. Because /dev/shm has specific characteristics (in particular it's meant to always be a tmpfs), we offload the actual storage into a subdirectory of the real /dev/shm. Because /dev/shm is a shared directory between all uids, we have to be extra-careful how we do this, which is why the test coverage here is important. This is done on an opt-in basis because of its extra complexity. Signed-off-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'doc/flatpak-metadata.xml')
-rw-r--r--doc/flatpak-metadata.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/flatpak-metadata.xml b/doc/flatpak-metadata.xml
index f4cd84ce..2d853ade 100644
--- a/doc/flatpak-metadata.xml
+++ b/doc/flatpak-metadata.xml
@@ -478,6 +478,19 @@
Available since 1.0.3.
</para></listitem></varlistentry>
+ <varlistentry><term><option>per-app-dev-shm</option></term>
+ <listitem><para>
+ Share a single instance of
+ <filename>/dev/shm</filename> between all
+ instances of this application run by the same
+ user ID, including sub-sandboxes.
+ If the application has the
+ <option>shm</option> device permission in its
+ <option>devices</option> list, then this
+ feature flag is ignored.
+ Available since 1.12.0.
+ </para></listitem></varlistentry>
+
</variablelist>
A feature can be prefixed with <option>!</option> to
indicate the absence of that feature, for example