fedora-selinux / selinux-policy

selinux-policy for Fedora is a large patch off the mainline
GNU General Public License v2.0
156 stars 157 forks source link

Add support for libvirt hooks #2195

Closed zpytela closed 4 days ago

zpytela commented 1 week ago

Beginning with libvirt 0.8.0, specific events on a host system will trigger custom scripts located in /etc/libvirt/hooks. These scripts will be executed in the virt_hook_unconfined_t domain only when the virt_hooks_unconfined boolean, which is off by default, is turned on.

Links: https://www.libvirt.org/hooks.html Hooks for specific system management