Skip to content

[Backport wrynose] selinux: Add XDG Downloads mount-on support for dockerd - #412

Open
quic-yocto-ci wants to merge 1 commit into
wrynosefrom
backport/408-to-wrynose
Open

[Backport wrynose] selinux: Add XDG Downloads mount-on support for dockerd#412
quic-yocto-ci wants to merge 1 commit into
wrynosefrom
backport/408-to-wrynose

Conversation

@quic-yocto-ci

Copy link
Copy Markdown

Description

Backport of #408 to wrynose.

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>
(cherry picked from commit a4cd444)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants