]> git.ipfire.org Git - thirdparty/libvirt.git/commit
security, apparmor: add (Set|Restore)ChardevLabel
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>
Tue, 9 Jan 2018 15:04:04 +0000 (16:04 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 9 Jan 2018 16:29:52 +0000 (17:29 +0100)
commit14b52bb765aff6accf932bda2d623e6b51fece52
tree00dd28242f6d0ec00250d7112e6707bde4640276
parenta5486e57f5b13454d6a1334675ba98075f179da7
security, apparmor: add (Set|Restore)ChardevLabel

Since 1b4f66e "security: introduce virSecurityManager
(Set|Restore)ChardevLabel" this is a public API of security manager.

Implementing this in apparmor avoids miss any rules that should be
added for devices labeled via these calls.

Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
src/security/security_apparmor.c