libvirt/src/security
Andrea Bolognani b94239a61e meson: Use dicts to initialize cfg_data objects
Instead of creating an empty object and then setting keys one
at a time, it is possible to pass a dict object to
configuration_data(). This is nicer because it doesn't require
repeating the name of the cfg_data object over and over.

There is one exception: the 'conf' object, where we store values
that are used directly by C code. In that case, using a dict
object is not feasible for two reasons: first of all, replacing
the set_quoted() calls would result in awkward code with a lot
of calls to format(); moreover, since code that modifies it is
sprinkled all over the place, refactoring it would probably
make things more complicated rather than simpler.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
2022-04-01 15:33:19 +02:00
..
apparmor meson: Use dicts to initialize cfg_data objects 2022-04-01 15:33:19 +02:00
meson.build
security_apparmor.c Include sys/wait.h instead of wait.h 2022-03-07 10:31:22 +01:00
security_apparmor.h
security_dac.c conf: Properly instantiate virDomainChrSourceDef in virDomainTPMDef 2021-11-19 12:38:35 +01:00
security_dac.h
security_driver.c
security_driver.h qemu: Set label on vhostuser net device when hotplugging 2021-08-26 16:06:45 -06:00
security_manager.c lib: Use g_clear_pointer() more 2022-02-08 08:42:07 +01:00
security_manager.h qemu: Set label on vhostuser net device when hotplugging 2021-08-26 16:06:45 -06:00
security_nop.c lib: Drop intermediary return variables 2021-10-25 12:48:46 +02:00
security_nop.h
security_selinux.c lib: Use g_clear_pointer() more 2022-02-08 08:42:07 +01:00
security_selinux.h
security_stack.c qemu: Set label on vhostuser net device when hotplugging 2021-08-26 16:06:45 -06:00
security_stack.h
security_util.c
security_util.h
virt-aa-helper.c conf: Convert virDomainHostdevDefParseXMLSubsys() to virXMLProp*() 2022-01-21 16:42:14 +01:00