]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
efivar: Allow NULL paths in build_dp
authorWarner Losh <imp@FreeBSD.org>
Thu, 16 Feb 2023 16:36:03 +0000 (09:36 -0700)
committerWarner Losh <imp@FreeBSD.org>
Sun, 19 Feb 2023 06:47:04 +0000 (23:47 -0700)
commitcd475287ee5a24b994cfad80b08c3d2b533b5dd9
tree97f2a9ba841f379dd9d2c426d01b89bbc19b6a25
parent0c479a5c47dbbba7b6ff3a867e0981749e3262a5
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
Approved by: re@ (cperciva)

(cherry picked from commit 49fd6affdbfe6af53f119ebb27ff5e5e292e1f67)
(cherry picked from commit 82c0aea8f3c270c6d20b093cf711d4bb1472237c)
lib/libefivar/efivar-dp-xlate.c