From 322a6253ba902a2a5e4845e4f5fcf6581c8d28fb Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Fri, 19 May 2023 10:25:13 -0700 Subject: [PATCH] libsysprof-analyze: add note about container breakouts --- src/libsysprof-analyze/sysprof-mount-namespace.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/libsysprof-analyze/sysprof-mount-namespace.c b/src/libsysprof-analyze/sysprof-mount-namespace.c index f98906cf..4fc2cc50 100644 --- a/src/libsysprof-analyze/sysprof-mount-namespace.c +++ b/src/libsysprof-analyze/sysprof-mount-namespace.c @@ -231,6 +231,12 @@ sysprof_mount_namespace_translate (SysprofMountNamespace *self, * on existing behavior in libsysprof. */ + /* TODO: After we've translated to what we'd expect to see on the + * host system, we'll need to translate once again to what we can + * actually access if we're inside a container ourselves, such as + * Toolbox or Flatpak and use /var/run/host or similar. + */ + g_array_append_val (strv, translated); }