]> xenbits.xensource.com Git - libvirt.git/commit
security_dac: Fix const correctness
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 22 Aug 2018 13:57:08 +0000 (15:57 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 7 Sep 2018 07:57:39 +0000 (09:57 +0200)
commitca010e9d76af9c6b2bc97032995d93b7b3a8bb8a
tree78615ff1bdfab038c1ca8e7010ca910a8c6a0b93
parent8a5713e235ebbd1fb822020de6e7b89134cee429
security_dac: Fix const correctness

These two functions (virSecurityDACSetOwnership and
virSecurityDACRestoreFileLabelInternal) do not really change
@src. Make it const.

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