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)
Mon, Mar 9, 12:12 AM
Unknown Object (File)
Sun, Mar 8, 10:41 AM
Unknown Object (File)
Sat, Mar 7, 12:54 PM
Unknown Object (File)
Thu, Mar 5, 7:20 AM
Unknown Object (File)
Thu, Mar 5, 7:04 AM
Unknown Object (File)
Tue, Mar 3, 9:32 AM
Unknown Object (File)
Fri, Feb 27, 9:32 PM
Unknown Object (File)
Fri, Feb 27, 5:14 PM
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.