[libvirt] [PATCH v1 07/23] security_dac: Limit usage of virSecurityDACSetOwnershipInternal

Peter Krempa pkrempa at redhat.com
Fri Oct 16 05:52:46 UTC 2015


On Mon, Oct 12, 2015 at 12:25:52 +0200, Michal Privoznik wrote:
> 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 at redhat.com>
> ---
>  src/security/security_dac.c | 36 ++++++++++++++++++++++--------------
>  1 file changed, 22 insertions(+), 14 deletions(-)

Ah, you want to create a full wrapper so that you can extend it
afterwards. Fair enough.

ACK to the previous ones too.

Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20151016/dc15e5c6/attachment-0001.sig>


More information about the libvir-list mailing list