selinux: Add XDG Downloads mount-on support for dockerd - #408
Merged
Ricardo Salveti (ricardosalveti) merged 1 commit intoAug 5, 2026
Merged
Conversation
Add two refpolicy backport patches required to support mounting on user XDG Downloads directories. * Add xdg_mounton_downloads() interface to grant mounton access on xdg_downloads_t directories. * Add dockerd_mounton_xdg_downloads tunable to optionally allow dockerd_t to mount filesystems on XDG Downloads directories. * Keep the tunable disabled by default. This enables policy-controlled support for container workloads that need bind mounts or filesystem mounts under a user's Downloads directory. Signed-off-by: Kemal Rasim Sh <kshakir@qti.qualcomm.com>
Contributor
Doesn't belong to the PR description. It doesn't need to be landed in Git history |
Dmitry Baryshkov (lumag)
approved these changes
Aug 3, 2026
Ricardo Salveti (ricardosalveti)
approved these changes
Aug 4, 2026
Ricardo Salveti (ricardosalveti)
merged commit Aug 5, 2026
60146c5
into
qualcomm-linux:main
411 of 418 checks passed
|
Successfully created backport PR for |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add two refpolicy backport patches required to support mounting on user XDG Downloads directories.
This enables policy-controlled support for container workloads that need bind mounts or filesystem mounts under a user's Downloads directory.
This change was implemented following the guidance and conclusions from the upstream discussion in Issue #1182 regarding SELinux labeling and Docker access to specific
$HOMEsubdirectories.