Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Label all content inside of VM volume mounted from host as container_…
…file_t While this is potentially a security problem, it solves the issues of users sharing content from the host into containers and attempting to relabel it. From a security point of view this means all content volume mounted from the host into the podman machine on apple hypervisor is read/write from an SELinux point of view if it is volume mounted into the container. If the user attempts to use :Z it will work and relabel the content to be only usable bu the specify container. :z will continue to work, but will have no effect since the content is already labeled with a shared content label. Helps Fix: containers#21269 Signed-off-by: Daniel J Walsh <[email protected]>
- Loading branch information