libvirt/src/security
Michal Privoznik 79bd55b302 virSecurityManagerNew: Turn array of booleans into flags
So imagine you want to crate new security manager:

  if (!(mgr = virSecurityManagerNew("selinux", "QEMU", false, true, false, true)));

Hard to parse, right? What about this:

  if (!(mgr = virSecurityManagerNew("selinux", "QEMU",
                                    VIR_SECURITY_MANAGER_DEFAULT_CONFINED |
                                    VIR_SECURITY_MANAGER_PRIVILEGED)));

Now that's better! This is what the commit does.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2015-10-07 17:51:28 +02:00
..
security_apparmor.c apparmor: differentiate between error and unconfined profiles 2015-10-06 13:47:01 +02:00
security_apparmor.h
security_dac.c security_dac: Add SetDirLabel support 2015-08-24 11:53:17 +02:00
security_dac.h
security_driver.c
security_driver.h security: Add virSecurityDomainSetDirLabel 2015-08-24 11:53:17 +02:00
security_manager.c virSecurityManagerNew: Turn array of booleans into flags 2015-10-07 17:51:28 +02:00
security_manager.h virSecurityManagerNew: Turn array of booleans into flags 2015-10-07 17:51:28 +02:00
security_nop.c
security_nop.h
security_selinux.c security_selinux: Take @privileged into account 2015-09-15 11:30:14 +02:00
security_selinux.h
security_stack.c security_stack: Add SetDirLabel support 2015-08-24 11:53:17 +02:00
security_stack.h
virt-aa-helper.c apparmor: Adjust path to domain monitor socket 2015-08-29 18:15:49 +02:00