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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
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@xxxxxxxxxx>

And safe for freeze.

Michal

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux