fwupd/libfwupdplugin
Richard Hughes f58ac7316c hsi: Abstract out the list of FwupdSecurityAttr objects for plugins
This exports FuSecurityAttrs into libfwupdplugin so that we can pass the plugins
this object rather than a 'bare' GPtrArray. This greatly simplifies the object
ownership, and also allows us to check the object type before adding.

In the future we could also check for duplicate appstream IDs or missing
properties at insertion time.

This change also changes the fu_plugin_add_security_attrs() to not return an
error. This forces the plugin to handle the error, storing the failure in the
attribute itself.

Only the plugin know if a missing file it needs to read indicates a runtime
problem or a simple failure to obtain a specific HSI level.
2020-05-12 16:47:24 +01:00
..
fu-archive.c Convert libfwupdprivate to a shared library libfwupdplugin 2019-11-27 11:32:43 +00:00
fu-archive.h Convert libfwupdprivate to a shared library libfwupdplugin 2019-11-27 11:32:43 +00:00
fu-cabinet.c Use Jcat files in firmware archives and for metadata 2020-03-23 19:55:12 +00:00
fu-cabinet.h Use Jcat files in firmware archives and for metadata 2020-03-23 19:55:12 +00:00
fu-chunk.c trivial: Do not include non-introspectable functions in the GIR 2019-11-27 12:45:35 +00:00
fu-chunk.h Convert libfwupdprivate to a shared library libfwupdplugin 2019-11-27 11:32:43 +00:00
fu-common-cab.c Create FuCabinet and untangle a lot of legacy code 2020-02-27 18:06:26 +00:00
fu-common-cab.h Convert libfwupdprivate to a shared library libfwupdplugin 2019-11-27 11:32:43 +00:00
fu-common-guid.c Convert libfwupdprivate to a shared library libfwupdplugin 2019-11-27 11:32:43 +00:00
fu-common-guid.h Convert libfwupdprivate to a shared library libfwupdplugin 2019-11-27 11:32:43 +00:00
fu-common-version.c trivial: improve error message on version format guessing 2020-03-06 13:00:59 -06:00
fu-common-version.h Always check for PLAIN when doing vercmp() operations 2020-02-20 15:49:27 +00:00
fu-common.c Add a new path enum of FU_PATH_KIND_ACPI_TABLES 2020-05-11 17:53:50 +01:00
fu-common.h Add a new path enum of FU_PATH_KIND_ACPI_TABLES 2020-05-11 17:53:50 +01:00
fu-deprecated.h Install development files for libfwupdplugin 2019-11-27 11:32:43 +00:00
fu-device-locker.c libfwupdplugin: Use fu_device_locker_close() 2020-03-26 15:23:10 -05:00
fu-device-locker.h Add fu_device_locker_close() 2020-03-26 15:23:10 -05:00
fu-device-metadata.h thunderbolt: drop support for force power 2020-04-29 13:15:45 -05:00
fu-device-private.h trivial: Allow plugins to use fu_device_set_priority() directly 2020-04-15 14:11:06 +01:00
fu-device.c Fix the DeviceID set by GetDetails 2020-04-20 17:42:22 +01:00
fu-device.h Allow devices to match the proxy device by GUID 2020-04-16 15:52:34 +01:00
fu-dfu-firmware.c Convert libfwupdprivate to a shared library libfwupdplugin 2019-11-27 11:32:43 +00:00
fu-dfu-firmware.h Convert libfwupdprivate to a shared library libfwupdplugin 2019-11-27 11:32:43 +00:00
fu-efivar.c When TPM PCR0 measurements fail, query if secure boot is available and enabled 2020-03-05 07:54:15 -06:00
fu-efivar.h When TPM PCR0 measurements fail, query if secure boot is available and enabled 2020-03-05 07:54:15 -06:00
fu-firmware-common.c Convert libfwupdprivate to a shared library libfwupdplugin 2019-11-27 11:32:43 +00:00
fu-firmware-common.h Convert libfwupdprivate to a shared library libfwupdplugin 2019-11-27 11:32:43 +00:00
fu-firmware-image-private.h Convert libfwupdprivate to a shared library libfwupdplugin 2019-11-27 11:32:43 +00:00
fu-firmware-image.c trivial: Fix a typo when calling fu_firmware_image_add_string() 2020-03-18 18:57:06 +00:00
fu-firmware-image.h Convert libfwupdprivate to a shared library libfwupdplugin 2019-11-27 11:32:43 +00:00
fu-firmware.c Convert libfwupdprivate to a shared library libfwupdplugin 2019-11-27 11:32:43 +00:00
fu-firmware.h Convert libfwupdprivate to a shared library libfwupdplugin 2019-11-27 11:32:43 +00:00
fu-hash.py Use black to format python source in a consistent manner 2020-04-13 23:06:30 +01:00
fu-hid-device.c wacom-usb: Add more sanity checks in case the daemon goes crazy 2020-04-08 16:30:15 +01:00
fu-hid-device.h Add FuHidDevice abstraction 2020-03-19 17:02:07 +00:00
fu-hwids.c trivial: Fix up a few introspection problems in FwupdPlugin 2019-11-27 12:45:35 +00:00
fu-hwids.h Convert libfwupdprivate to a shared library libfwupdplugin 2019-11-27 11:32:43 +00:00
fu-ihex-firmware.c trivial: Fix up a private function name that was missed 2020-03-19 06:43:42 +00:00
fu-ihex-firmware.h Convert libfwupdprivate to a shared library libfwupdplugin 2019-11-27 11:32:43 +00:00
fu-io-channel.c trivial: Fix up a few introspection problems in FwupdPlugin 2019-11-27 12:45:35 +00:00
fu-io-channel.h Convert libfwupdprivate to a shared library libfwupdplugin 2019-11-27 11:32:43 +00:00
fu-mutex.h Convert libfwupdprivate to a shared library libfwupdplugin 2019-11-27 11:32:43 +00:00
fu-plugin-private.h hsi: Abstract out the list of FwupdSecurityAttr objects for plugins 2020-05-12 16:47:24 +01:00
fu-plugin-vfuncs.h hsi: Abstract out the list of FwupdSecurityAttr objects for plugins 2020-05-12 16:47:24 +01:00
fu-plugin.c hsi: Abstract out the list of FwupdSecurityAttr objects for plugins 2020-05-12 16:47:24 +01:00
fu-plugin.h trivial: Allow plugins to signal that the security status has changed 2020-05-11 22:11:49 +01:00
fu-quirks.c Use xb_builder_source_add_simple_adapter 2020-02-27 19:01:28 +00:00
fu-quirks.h Allow devices to match the proxy device by GUID 2020-04-16 15:52:34 +01:00
fu-security-attrs-private.h hsi: Abstract out the list of FwupdSecurityAttr objects for plugins 2020-05-12 16:47:24 +01:00
fu-security-attrs.c hsi: Abstract out the list of FwupdSecurityAttr objects for plugins 2020-05-12 16:47:24 +01:00
fu-security-attrs.h hsi: Abstract out the list of FwupdSecurityAttr objects for plugins 2020-05-12 16:47:24 +01:00
fu-self-test.c hsi: Abstract out the list of FwupdSecurityAttr objects for plugins 2020-05-12 16:47:24 +01:00
fu-smbios-private.h Convert libfwupdprivate to a shared library libfwupdplugin 2019-11-27 11:32:43 +00:00
fu-smbios.c Convert libfwupdprivate to a shared library libfwupdplugin 2019-11-27 11:32:43 +00:00
fu-smbios.h Convert libfwupdprivate to a shared library libfwupdplugin 2019-11-27 11:32:43 +00:00
fu-srec-firmware.c trivial: Do not include non-introspectable functions in the GIR 2019-11-27 12:45:35 +00:00
fu-srec-firmware.h Convert libfwupdprivate to a shared library libfwupdplugin 2019-11-27 11:32:43 +00:00
fu-udev-device-private.h Convert libfwupdprivate to a shared library libfwupdplugin 2019-11-27 11:32:43 +00:00
fu-udev-device.c trivial: Post branch version bump 2020-05-05 11:34:17 +01:00
fu-udev-device.h fu-udev-device: add fu_udev_device_get_parent_name 2020-04-29 13:15:45 -05:00
fu-usb-device-private.h Convert libfwupdprivate to a shared library libfwupdplugin 2019-11-27 11:32:43 +00:00
fu-usb-device.c trivial: Add two unrecoverable error codes to all USB devices 2020-03-28 12:46:03 +00:00
fu-usb-device.h Add FuHidDevice abstraction 2020-03-19 17:02:07 +00:00
fwupdplugin.h hsi: Abstract out the list of FwupdSecurityAttr objects for plugins 2020-05-12 16:47:24 +01:00
fwupdplugin.map hsi: Abstract out the list of FwupdSecurityAttr objects for plugins 2020-05-12 16:47:24 +01:00
meson.build hsi: Abstract out the list of FwupdSecurityAttr objects for plugins 2020-05-12 16:47:24 +01:00