Skip to content

forward v0.38.2 patches - #4186

Merged
tonistiigi merged 2 commits into
docker:masterfrom
crazy-max:forward-0.38.2
Nov 3, 2026
Merged

tonistiigi merged 2 commits into
docker:masterfrom
crazy-max:forward-0.38.2

Conversation

@crazy-max

Copy link
Copy Markdown
Member

No description provided.

Missing fs-read and fs-write paths were computed per target, so each
target overwrote the result of the previous one. Depending on map
iteration order, a target without local paths could mask missing
entitlements required by another target.

Collect paths from all targets before computing the missing set.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit 4493cef95f2ecd3536abfc41d69448bcb2fb18fd)
(cherry picked from commit c0f635b)
Preserve the trailing separator when matching allowed paths so siblings
with a shared prefix require their own filesystem entitlements.

Add regression coverage for sibling reads, writes, and allowed subpaths.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit 4b6c36e5c2234739acc82df73516dc7f73fe7830)
(cherry picked from commit 1e781cb)
@crazy-max
crazy-max requested a review from tonistiigi November 3, 2026 14:21
@crazy-max
crazy-max marked this pull request as ready for review November 3, 2026 14:21
@tonistiigi
tonistiigi merged commit c47f1ef into docker:master Nov 3, 2026
298 of 300 checks passed
@crazy-max
crazy-max deleted the forward-0.38.2 branch November 3, 2026 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants