mirror of
https://github.com/flatpak/flatpak.git
synced 2026-02-01 03:21:23 -05:00
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:
committed by
Simon McVittie
parent
e3507918c0
commit
fe49f8f7ca
@@ -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" },
|
||||
|
||||
Reference in New Issue
Block a user