- Update to efivar 37:
- Minor coverity fixes
- Improve ACPI device path formatting
- Add support for SOC devices that use FDT as their PCI root node
- Make devices we can't parse the "device" sysfs link for use DEV_ABBREV_ONLY
- Handle SCSI port numbers better
- Don't require an EUI for NVMe
- Fix the accidental requirement on ACPI UID nodes existing
- Add support for EMMC devices
- Add support for PCI root nodes without a device link in sysfs
- Add support for partitioned MD devices
- Fix partition number detection when the number isn't provided
- Add support for ACPI Generic Container and Embedded Controller root nodes
- Add limited support for SAS/SATA port expanders
Signed-off-by: Peter Jones <pjones@redhat.com>
Add NVDIMM support
Re-written linux interface parser to handle how devices are
partitioned better, and for cleaner code, with one file per device
type.
lots of verbosity updates
better CI
analysis with clang's analyzer as well as coverity
Better handling of immutable bits in sysfs
LIBEFIVAR_OPS=help
lots of code cleanups.
Signed-off-by: Peter Jones <pjones@redhat.com>
fixes for older compilers
efi_get_variable_exists()
Lots of stuff to make CI work.
use usleep() to avoid hitting the kernel rate limiter on efivarfs
better EFI_GUID macro
add efi_guid_fwupdate (0abba7dc-e516-4167-bbf5-4d9d1c739416)
Signed-off-by: Peter Jones <pjones@redhat.com>
Since it's checking abi against the local builds in the repo, which came
from my laptop, it'll only match 64-bit builds, and may be even more arch
specific than that.
Signed-off-by: Peter Jones <pjones@redhat.com>
- lots of coverity fixes; mostly leaked memory and fds and the like
- fix sysfs pci path formats
- handle device paths for dns, nfit, bluetooth, wifi, emmc, btle.
- improved abi checking on releases
- Fix failures on EDIT_WRITE in edit_variable() when the variable doesn't exist
- Add efi_guid_ux_capsule_guid to our guids
- Now with %check
-
Signed-off-by: Peter Jones <pjones@redhat.com>
- Work around NVMe EUI sysfs change
- Provide some oldish version strings we should have kept.
- lots of overflow checking on our pointer math in dp parsing
- fix major/minor device number handling in the linux code
- Do better formatting checks for MBR partitions
- Fixes for gcc 7
Signed-off-by: Peter Jones <pjones@redhat.com>
Work around NVMe EUI sysfs change
Provide some oldish version strings we should have kept.
lots of overflow checking on our pointer math in dp parsing
fix major/minor device number handling in the linux code
Do better formatting checks for MBR partitions
Fixes for gcc 7
Signed-off-by: Peter Jones <pjones@redhat.com>
- Use -pie not -PIE in our linker config
- Fix some overflow checks for gcc < 5.x
- Make variable class probes other than the first one actually work
- Move -flto to CFLAGS
- Pack all of the efi device path headers
- Fix redundant decl of efi_guid_zero()
Signed-off-by: Peter Jones <pjones@redhat.com>
- Rename "make test" so packagers don't think it's a good idea to run it
during builds.
- Error check sizes in vars_get_variable()
- Fix some file size comparisons
- make SONAME reflect the correct values.
- Fix some uses of "const"
- Compile with -O2 by default
- Fix some strict-aliasing violations
- Fix some of the .pc files and how we do linking to work better.
Signed-off-by: Peter Jones <pjones@redhat.com>
- Rename "make test" so packagers don't think it's a good idea to run it
during builds.
- Error check sizes in vars_get_variable()
- Fix some file size comparisons
- make SONAME reflect the correct values.
Signed-off-by: Peter Jones <pjones@redhat.com>
- Make sure tester is build with the right link order for libraries.
- Adjust linker order for pkg-config
- Work around LocateDevicePath() not grokking PcieRoot() devices properly.
- Rectify some missing changelog entries
Signed-off-by: Peter Jones <pjones@redhat.com>
- add efi_id_guid_to_guid() and efi_guid_to_id_guid(), which support {ID GUID}
as a concept.
- Add some vendor specific guids to our guid list.
- Call "empty" "zero" now, as many other places do. References to
efi_guid_is_empty() and efi_guid_empty still exist for ABI compatibility.
- add "efivar -L" to the man page.
Signed-off-by: Peter Jones <pjones@redhat.com>
- add efi_symbol_to_guid()
- efi_name_to_guid() will now fall back on efi_symbol_to_guid() as a last
resort
- "efivar -L" to list all the guids we know about
- better namespacing on libefivar.so (rename well_known_* -> efi_well_known_*)
Signed-off-by: Peter Jones <pjones@redhat.com>