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 <crobi...@redhat.com>
---
  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@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to