]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virSecurityLabelDef: Declare 'type' as 'virDomainSeclabelType'
authorPeter Krempa <pkrempa@redhat.com>
Mon, 22 Nov 2021 15:31:44 +0000 (16:31 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 24 Nov 2021 08:20:38 +0000 (09:20 +0100)
commitf7ff8556ad9ba8d81408e31649071941a6a849a3
tree998792483d9cdb052008a917f41c29ccf29b18a9
parent396ce0b568bc468e520f9b3e6dd5e8a582001801
virSecurityLabelDef: Declare 'type' as 'virDomainSeclabelType'

Use the appropriate enum type instead of an int and fix the XML parser
and one missing fully populated switch.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/conf/domain_conf.c
src/security/security_selinux.c
src/util/virseclabel.h