[libvirt] [PATCH] selinux: Do not report an error when not returning -1

Michal Privoznik mprivozn at redhat.com
Fri Aug 30 09:01:57 UTC 2019


On 8/29/19 5:39 PM, Martin Kletzander wrote:
> I guess the reason for that was the automatic interpretation/stringification of
> setfilecon_errno, but the code was not nice to read and it was a bit confusing.
> Also, the logs and error states get cleaner this way.
> 
> Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
> ---
> I'm still waiting for the build in travis to finish, so don't stone me if it
> fails.  The link is here: https://travis-ci.org/nertpinx/libvirt/builds/578418517
> 
>   src/security/security_selinux.c | 12 ++++++++----
>   1 file changed, 8 insertions(+), 4 deletions(-)

Reviewed-by: Michal Privoznik <mprivozn at redhat.com>

And safe for freeze.

Michal




More information about the libvir-list mailing list