]> xenbits.xensource.com Git - libvirt.git/commit
security: Set seclabels for pstore device
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 6 Jun 2024 07:29:30 +0000 (09:29 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 25 Jul 2024 14:04:50 +0000 (16:04 +0200)
commit9faa61538474215e2540fa6f34167c5239a798bf
treeb34deb753f3a12e82bed13a406c9f0ef181f5174
parent3cfe4caa0a85f0567cf530e9786d7b2be01513f9
security: Set seclabels for pstore device

The acpi-erst backend for pstore device exposes a path in the
host accessible to the guest and as such we must set seclabels on
it to grant QEMU RW access.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Kristina Hanicova <khanicov@redhat.com>
src/security/security_dac.c
src/security/security_selinux.c
src/security/virt-aa-helper.c