From 0c11b6362df523f852d31429bfb239c24234580a Mon Sep 17 00:00:00 2001 From: Simon McVittie <smcv@collabora.com> Date: Thu, 22 Jul 2021 11:05:35 +0100 Subject: [PATCH] runtime: Comment why the /app special case exists Signed-off-by: Simon McVittie <smcv@collabora.com> --- pressure-vessel/runtime.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pressure-vessel/runtime.c b/pressure-vessel/runtime.c index eccbe7760..89e950771 100644 --- a/pressure-vessel/runtime.c +++ b/pressure-vessel/runtime.c @@ -145,6 +145,9 @@ path_visible_in_provider_namespace (PvRuntimeFlags flags, while (path[0] == '/') path++; + /* In a Flatpak subsandbox, the provider is /run/parent, and + * /run/parent/app in the subsandbox has the same content as /app + * in Steam. */ if ((flags & PV_RUNTIME_FLAGS_FLATPAK_SUBSANDBOX) && g_str_has_prefix (path, "app") && (path[3] == '\0' || path[3] == '/')) -- GitLab