]> git.proxmox.com Git - swtpm.git/commit - .gitignore
selinux: update policy for swtpm to support libvirt integration
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Wed, 4 Apr 2018 15:14:51 +0000 (11:14 -0400)
committerStefan Berger <stefanb@linux.vnet.ibm.com>
Wed, 4 Apr 2018 16:37:18 +0000 (12:37 -0400)
commit0d00e18f87df1ea72b7de15a66164d57f2454e57
tree6fabd9d8aae24cde21634dd5dec7c9cc2cc6c336
parentf34e01a5a94ad986001e1999b56b98d626d686d3
selinux: update policy for swtpm to support libvirt integration

Update the SELinux for swtpm so that swtpm can be launched from
libvirtd and QEMU can access swtpm's UnixIO socket and talk to it.

Use this as follows:

> cd src/selinux
> make clean all
> semodule -i *.pp
> restorecon /usr/bin/swtpm*

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
.gitignore
src/selinux/Makefile.am
src/selinux/adapt_policy.sh
src/selinux/swtpm.fc [new file with mode: 0644]
src/selinux/swtpm.if [new file with mode: 0644]
src/selinux/swtpm.te [new file with mode: 0644]
src/selinux/swtpmcuse_svirt.te