[libvirt] [PATCH v1 26/31] security_selinux: Simplify virSecuritySELinuxSetImageLabelInternal

Peter Krempa pkrempa at redhat.com
Tue Jul 16 15:08:17 UTC 2019


On Thu, Jul 11, 2019 at 17:54:13 +0200, Michal Privoznik wrote:
> This function calls virSecuritySELinuxSetFilecon() or
> virSecuritySELinuxSetFileconOptional() from a lot of places.
> It works, because in all places we're passing src->path which is
> what we wanted. But not anymore. We will want to be able to pass
> a different path and thus the function must be reworked a bit.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/security/security_selinux.c | 39 ++++++++++++++-------------------
>  1 file changed, 17 insertions(+), 22 deletions(-)

ACK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190716/829845dd/attachment-0001.sig>


More information about the libvir-list mailing list