mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
apparmor: Add support for dbus chardev
Commit 7648e40da50e added support for dbus chardev but forgot to handle it in AppArmor code. Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
parent
89d789670d
commit
b7b8cd6ad6
@ -1022,6 +1022,7 @@ AppArmorSetChardevLabel(virSecurityManager *mgr,
|
||||
case VIR_DOMAIN_CHR_TYPE_SPICEVMC:
|
||||
case VIR_DOMAIN_CHR_TYPE_NMDM:
|
||||
case VIR_DOMAIN_CHR_TYPE_QEMU_VDAGENT:
|
||||
case VIR_DOMAIN_CHR_TYPE_DBUS:
|
||||
case VIR_DOMAIN_CHR_TYPE_LAST:
|
||||
ret = 0;
|
||||
break;
|
||||
@ -1085,6 +1086,7 @@ AppArmorSetNetdevLabel(virSecurityManager *mgr,
|
||||
case VIR_DOMAIN_CHR_TYPE_SPICEVMC:
|
||||
case VIR_DOMAIN_CHR_TYPE_NMDM:
|
||||
case VIR_DOMAIN_CHR_TYPE_QEMU_VDAGENT:
|
||||
case VIR_DOMAIN_CHR_TYPE_DBUS:
|
||||
case VIR_DOMAIN_CHR_TYPE_LAST:
|
||||
ret = 0;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user