This repository has been archived by the owner on May 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 373
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
virtcontainers: Add SELinux support for running VM Confinement
We want to launch the KVM launcher tool (qemu?) with an SELinux label, similar to what we do with libvirt. Currently when I use kata with Podman, it complains if we specify a label that kata does not support SELinux labels. What I would like to do is have kata just use this label to apply to the KVM launcher. Then I will work to generate a new policy type (container_kvm_t) that will allow the KVM Launcher tool to do its thing, but prevent breakout. Fixes: #2501 Signed-off-by: Fabiano Fidêncio <[email protected]> Signed-off-by: Daniel J Walsh <[email protected]>
- Loading branch information
Showing
18 changed files
with
1,847 additions
and
3 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# Copyright 2020 Red Hat Inc. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
pkg-config libselinux 2> /dev/null && echo selinux |
201 changes: 201 additions & 0 deletions
201
vendor/github.com/opencontainers/selinux/LICENSE
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
77 changes: 77 additions & 0 deletions
77
vendor/github.com/opencontainers/selinux/go-selinux/label/label.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.