]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
efivar: Allow NULL paths in build_dp
authorWarner Losh <imp@FreeBSD.org>
Thu, 16 Feb 2023 15:53:26 +0000 (08:53 -0700)
committerWarner Losh <imp@FreeBSD.org>
Thu, 16 Feb 2023 15:54:39 +0000 (08:54 -0700)
commit49fd6affdbfe6af53f119ebb27ff5e5e292e1f67
tree6b9b017a26bdca61d25aba58662790091e41d517
parentccf2121d59ac51e1a0287d75262d48018d09cad6
efivar: Allow NULL paths in build_dp

Allow there to be NULL paths in buildp. This lets us return the device
path to the partition, as well as to files on the partition.

Sponsored by: Netflix
Reviewed by: corvink, manu, asomers
Differential Revision: https://reviews.freebsd.org/D38615
lib/libefivar/efivar-dp-xlate.c