[libvirt] [PATCH RFC 0/3] Keep original file label

Michal Privoznik mprivozn at redhat.com
Tue Feb 26 16:08:39 UTC 2013


Just sending out early to make sure this time I am going in acceptable
direction before digging into selinux. Hopefully, apparmor won't be any deal as
I don't see anything that should be restored on domain shut off process.

Michal Privoznik (3):
  security_dac: Remember owner prior chown() and restore on relabel
  security_manager: Introduce {Save,Load}Status
  security_dac: Implement {save,load}Status

 src/lxc/lxc_controller.c         |   2 +-
 src/lxc/lxc_driver.c             |   1 +
 src/qemu/qemu_driver.c           |   3 +
 src/security/security_dac.c      | 465 ++++++++++++++++++++++++++++++++++-----
 src/security/security_driver.h   |  12 +
 src/security/security_manager.c  | 161 +++++++++++++-
 src/security/security_manager.h  |   2 +
 tests/seclabeltest.c             |   2 +-
 tests/securityselinuxlabeltest.c |   3 +-
 tests/securityselinuxtest.c      |   3 +-
 10 files changed, 590 insertions(+), 64 deletions(-)

-- 
1.8.1.4




More information about the libvir-list mailing list