Page MenuHomeFreeBSD

efivar: Test uuid against zero
ClosedPublic

Authored by imp on Apr 25 2025, 7:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jul 23, 1:25 AM
Unknown Object (File)
Tue, Jul 21, 6:35 AM
Unknown Object (File)
Mon, Jul 20, 11:21 PM
Unknown Object (File)
Sun, Jul 19, 1:35 AM
Unknown Object (File)
Mon, Jun 29, 5:34 AM
Unknown Object (File)
Sat, Jun 27, 9:45 AM
Unknown Object (File)
Fri, Jun 26, 1:49 AM
Unknown Object (File)
Jun 24 2026, 12:46 AM
Subscribers
None

Details

Summary

Test the passed in GuID against a guid of all 0's. This removes another
place that has to worry about the difference between uuit_t and
EFI_GUID.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 63766
Build 60650: arc lint + arc unit

Event Timeline

imp requested review of this revision.Apr 25 2025, 7:33 PM
imp created this revision.
lib/libefivar/efivar.c
295

Consider dropping zero in favor of efi_guid_empty

update per kyle's suggestion

This revision is now accepted and ready to land.Apr 29 2025, 10:19 AM
This revision was automatically updated to reflect the committed changes.