[PATCH 0/2] Manage SELinux labels on shared/readonly hostdev's

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

 



https://bugzilla.redhat.com/show_bug.cgi?id=1082521

Patch 1 is innocuous and perhaps could have been pushed as trivial...

For Patch 2 I wasn't sure if I should use the virSecuritySELinuxSetFilecon
or virSecuritySELinuxSetFileconOptional, so I went with the latter since it
follows what virSecuritySELinuxSetSecurityImageLabelInternal does. Beyond
the check for shared/readonly, the other difference would be for the else
condition which uses the Optional now as opposed to the previous code which
would call virSecuritySELinuxSetSecurityHostdevLabelHelper and use the
non optional call to set the label.


John Ferlan (2):
  tests: Fix sharable typo
  security: Manage SELinux labels on shared/readonly hostdev's

 src/security/security_selinux.c | 58 ++++++++++++++++++++++++++++++++++-------
 tests/qemuargv2xmltest.c        |  2 +-
 2 files changed, 50 insertions(+), 10 deletions(-)

-- 
1.9.3

--
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]