diff options
author | Sebastian Wick <sebastian.wick@redhat.com> | 2023-10-12 16:23:14 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-10-24 10:11:33 +0000 |
commit | 999e4437730f0587b33218cc029c470cf3a4c20a (patch) | |
tree | 1f76d1a80ac3397851bc287de04fa52cf77eb86a | |
parent | 479580dbe39bdb9b0bd60e52187b0e6c58366ee0 (diff) |
security-context-v1: Make sandbox engine names use reverse-DNS
Specifically this also changes the well-known name for flatpak from
"flatpak" to "org.flatpak". This would be a breaking change but there is
no released version of flatpak yet with security-context support.
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
-rw-r--r-- | staging/security-context/engines.md | 2 | ||||
-rw-r--r-- | staging/security-context/security-context-v1.xml | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/staging/security-context/engines.md b/staging/security-context/engines.md index 3a7d13f..a53b1ed 100644 --- a/staging/security-context/engines.md +++ b/staging/security-context/engines.md @@ -6,7 +6,7 @@ mechanisms. ## [Flatpak] -* `sandbox_engine` is always set to `flatpak`. +* `sandbox_engine` is always set to `org.flatpak`. * `app_id` is the Flatpak application ID (in reverse-DNS style). It is always set. * `instance_id` is the Flatpak instance ID of the running sandbox. It is always diff --git a/staging/security-context/security-context-v1.xml b/staging/security-context/security-context-v1.xml index 2935c0a..0b14078 100644 --- a/staging/security-context/security-context-v1.xml +++ b/staging/security-context/security-context-v1.xml @@ -114,7 +114,8 @@ <request name="set_sandbox_engine"> <description summary="set the sandbox engine"> - Attach a unique sandbox engine name to the security context. + Attach a unique sandbox engine name to the security context. The name + should follow the reverse-DNS style (e.g. "org.flatpak"). A list of well-known engines is maintained at: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/blob/main/staging/security-context/engines.md |