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 meson: Always use the / operator to join paths 2021-08-11 09:16:36 +02:00
security_apparmor.c Include sys/wait.h instead of wait.h 2022-03-07 10:31:22 +01:00
security_apparmor.h src/security: use #pragma once in headers 2019-06-19 17:12:31 +02:00
security_dac.c conf: Properly instantiate virDomainChrSourceDef in virDomainTPMDef 2021-11-19 12:38:35 +01:00
security_dac.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
security_driver.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
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 src/security: use #pragma once in headers 2019-06-19 17:12:31 +02:00
security_selinux.c lib: Use g_clear_pointer() more 2022-02-08 08:42:07 +01:00
security_selinux.h src/security: use #pragma once in headers 2019-06-19 17:12:31 +02:00
security_stack.c qemu: Set label on vhostuser net device when hotplugging 2021-08-26 16:06:45 -06:00
security_stack.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
security_util.c qemusecuritytest: Skip on non supported platforms 2020-11-06 09:14:53 +01:00
security_util.h qemusecuritytest: Skip on non supported platforms 2020-11-06 09:14:53 +01:00
virt-aa-helper.c conf: Convert virDomainHostdevDefParseXMLSubsys() to virXMLProp*() 2022-01-21 16:42:14 +01:00