]> xenbits.xensource.com Git - libvirt.git/commit
apparmor: refactor AppArmorSetSecurityImageLabel
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>
Wed, 16 Oct 2019 07:32:52 +0000 (09:32 +0200)
committerChristian Ehrhardt <christian.ehrhardt@canonical.com>
Thu, 21 Nov 2019 07:26:07 +0000 (08:26 +0100)
commit9714f270f1e94a4b46a066a623b2cd239fa70faf
treef67183948ee9af6c86ac0ae792ade3279c374203
parent70cf0af7bf34b6c0f3c009efc8366767dcd3c27d
apparmor: refactor AppArmorSetSecurityImageLabel

A lot of the code in AppArmorSetSecurityImageLabel is a duplicate of
what is in reload_profile, this refactors AppArmorSetSecurityImageLabel
to use reload_profile instead.

Reviewed-by: Cole Robinson <crobinso@redhat.com>
Acked-by: Jamie Strandboge <jamie@canonical.com>
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
src/security/security_apparmor.c