]> git.ipfire.org Git - thirdparty/libvirt.git/commit
security_dac: Limit usage of virSecurityDACSetOwnershipInternal
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 7 Oct 2015 09:08:55 +0000 (11:08 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 16 Oct 2015 14:51:41 +0000 (16:51 +0200)
commitec04c18bc55f8df9cd2e982c7b4160d5e9050fe6
tree7721e59ab1cb5ea34b154718ddbb6b5c4c247273
parentfdf44d5b47f7a72a2501d07535d7e1f2880081e9
security_dac: Limit usage of virSecurityDACSetOwnershipInternal

This function should really be called only when we want to change
ownership of a file (or disk source). Lets switch to calling a
wrapper function which will eventually record the current owner
of the file and call virSecurityDACSetOwnershipInternal
subsequently.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/security/security_dac.c