Re: [PATCH 25/30] security: selinux: Simplify SetImageLabelInternal

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

 



On 10/7/19 11:49 PM, Cole Robinson wrote:
All the SetFileCon calls only differ by the label they pass in.
Rework the conditionals to track what label we need, and use a
single SetFileCon call

Signed-off-by: Cole Robinson <crobinso@xxxxxxxxxx>
---
  src/security/security_selinux.c | 31 ++++++++++---------------------
  1 file changed, 10 insertions(+), 21 deletions(-)

Huh, I posted the same patch a while ago:

https://www.redhat.com/archives/libvir-list/2019-September/msg01240.html

Great minds think alike :-D

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