From 7caa41a7169e1beaaa20d3c2bd621b5806a77092 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Wed, 27 Nov 2019 11:08:30 +0100 Subject: [PATCH] portal: Document the new sandbox options This adds missing docs for sandbox-expose-fd, sandbox-expose-fd-ro and sandbox-flags. --- data/org.freedesktop.portal.Flatpak.xml | 60 +++++++++++++++++++++++++ 1 file changed, 60 insertions(+) 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. ~/.var/app/$APP_ID/sandbox). + + sandbox-expose-fd ah + + 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. + + This was added in version 3 of this interface (available from flatpak 1.6.0 and later). + + + + sandbox-expose-fd-ro ah + + 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. + + This was added in version 3 of this interface (available from flatpak 1.6.0 and later). + + + + sandbox-flags u + + Flags affecting the created sandbox. The following flags values are supported: + + + 1 + + Share the display access (X11, wayland) with the caller. + + + + 2 + + Share the sound access (pulseaudio) with the caller. + + + + 4 + + Share the gpu access with the caller. + + + + 8 + + Allow sandbox access to (filtered) session bus. + + + + 16 + + Allow sandbox access to accessibility bus. + + + + + + This was added in version 3 of this interface (available from flatpak 1.6.0 and later). + + -->