freebsd-dev/lib/libefivar
Warner Losh 2b46091032 efivar: Really look for labels for the provider with right efimedia
The prior code mistakently thought that the g_consumer that hung off the
provider we found were the right thing to use to find all the glabel
aliases for this node. However, the only way to find that is to iterate
through all the geoms that belong to the glabel geom class, looking for
those geoms with the same name as the provider with the right efimedia.
Do this in a way that caches glabel class, and allows for it to be
absent. Tighten the filter for mounted filesystems to only look
for the ones that are mounted on /dev/.. since the rest of the code
assumes that.

MFC After:		3 days
Sponsored by:		Netflix
Reviewed by:		corvink, asomers
Differential Revision:	https://reviews.freebsd.org/D38619
2023-02-16 08:54:39 -07:00
..
efi-osdep.h libefivar: define MDE_CPU_RISCV64 2020-07-06 17:47:29 +00:00
efivar-dp-format.c libefivar: Fix a buffer overread. 2022-10-03 16:10:44 -07:00
efivar-dp-parse.c libefivar: Apply uncrustify changes 2022-02-27 09:45:34 -07:00
efivar-dp-xlate.c efivar: Really look for labels for the provider with right efimedia 2023-02-16 08:54:39 -07:00
efivar-dp.h Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
efivar.3 Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
efivar.c Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
efivar.h Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
FreeBSD-update libefivar: Apply uncrustify changes 2022-02-27 09:45:34 -07:00
Makefile libefivar: Add note about extra compiler flags 2023-02-15 16:03:54 -07:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
ProcessorBind.h Bring in EDK2 routines for printing and parsing device paths. 2017-03-09 00:31:31 +00:00
uefi-dplib.h libefivar: Apply uncrustify changes 2022-02-27 09:45:34 -07:00
uefi-dputil.c Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
uefi-guid.c libefivar: Apply uncrustify changes 2022-02-27 09:45:34 -07:00
uefi-guid.dat Bring in EDK2 routines for printing and parsing device paths. 2017-03-09 00:31:31 +00:00