diff options
author | Alexander Larsson <alexl@redhat.com> | 2019-11-27 11:08:30 +0100 |
---|---|---|
committer | Alexander Larsson <alexander.larsson@gmail.com> | 2019-11-27 14:21:25 +0100 |
commit | 7caa41a7169e1beaaa20d3c2bd621b5806a77092 (patch) | |
tree | 7d4550f738ac105c55e9a2449c9908eed1adb1ae /data | |
parent | e6ae979cc4abeb5b7da40b41f669f7cb11ec5fdc (diff) | |
download | flatpak-7caa41a7169e1beaaa20d3c2bd621b5806a77092.tar.gz |
portal: Document the new sandbox options
This adds missing docs for sandbox-expose-fd, sandbox-expose-fd-ro and
sandbox-flags.
Diffstat (limited to 'data')
-rw-r--r-- | data/org.freedesktop.portal.Flatpak.xml | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/data/org.freedesktop.portal.Flatpak.xml b/data/org.freedesktop.portal.Flatpak.xml index e1860152..731eaabb 100644 --- a/data/org.freedesktop.portal.Flatpak.xml +++ b/data/org.freedesktop.portal.Flatpak.xml @@ -137,6 +137,66 @@ the instance directory (i.e. <filename>~/.var/app/$APP_ID/sandbox</filename>). </para></listitem> </varlistentry> + <varlistentry> + <term>sandbox-expose-fd ah</term> + <listitem><para> + A list of file descriptor for files inside the sandbox that will be exposed + to the new sandbox, for reading and writing (if the caller has write access). + The file descriptors must be opened with O_PATH and O_NOFOLLOW and cannot be symlinks. + </para><para> + This was added in version 3 of this interface (available from flatpak 1.6.0 and later). + </para></listitem> + </varlistentry> + <varlistentry> + <term>sandbox-expose-fd-ro ah</term> + <listitem><para> + A list of file descriptor for files inside the sandbox that will be exposed + to the new sandbox, readonly. The file descriptors must be opened with O_PATH and O_NOFOLLOW and cannot be symlinks. + </para><para> + This was added in version 3 of this interface (available from flatpak 1.6.0 and later). + </para></listitem> + </varlistentry> + <varlistentry> + <term>sandbox-flags u</term> + <listitem><para> + Flags affecting the created sandbox. The following flags values are supported: + <variablelist> + <varlistentry> + <term>1</term> + <listitem><para> + Share the display access (X11, wayland) with the caller. + </para></listitem> + </varlistentry> + <varlistentry> + <term>2</term> + <listitem><para> + Share the sound access (pulseaudio) with the caller. + </para></listitem> + </varlistentry> + <varlistentry> + <term>4</term> + <listitem><para> + Share the gpu access with the caller. + </para></listitem> + </varlistentry> + <varlistentry> + <term>8</term> + <listitem><para> + Allow sandbox access to (filtered) session bus. + </para></listitem> + </varlistentry> + <varlistentry> + <term>16</term> + <listitem><para> + Allow sandbox access to accessibility bus. + </para></listitem> + </varlistentry> + </variablelist> + + </para><para> + This was added in version 3 of this interface (available from flatpak 1.6.0 and later). + </para></listitem> + </varlistentry> </variablelist> --> |