exports: Assert that recently-excluded paths are excluded

Reproduces: https://github.com/flatpak/flatpak/issues/5205
Reproduces: https://github.com/flatpak/flatpak/issues/5207
Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
Simon McVittie
2022-12-12 16:09:32 +00:00
committed by Simon McVittie
parent e3507918c0
commit fe49f8f7ca

View File

@@ -1266,6 +1266,8 @@ static const struct
}
reserved_filesystems[] =
{
{ "/", "/.flatpak-info" },
{ "/.flatpak-info", "/.flatpak-info" },
{ "/app", "/app" },
{ "/app/foo", "/app" },
{ "/bin", "/bin" },
@@ -1280,6 +1282,9 @@ reserved_filesystems[] =
{ "/proc", "/proc" },
{ "/proc/1", "/proc" },
{ "/proc/sys/net", "/proc" },
{ "/run", "/run/flatpak" },
{ "/run/flatpak/foo/bar", "/run/flatpak" },
{ "/run/host/foo", "/run/host" },
{ "/sbin", "/sbin" },
{ "/sbin/ldconfig", "/sbin" },
{ "/usr", "/usr" },