Page MenuHomeFreeBSD

loader.efi: Simplify the code for null decompression a little
ClosedPublic

Authored by imp on Jul 7 2026, 4:15 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 12, 2:47 AM
Unknown Object (File)
Fri, Oct 9, 3:12 AM
Unknown Object (File)
Wed, Oct 7, 11:20 PM
Unknown Object (File)
Tue, Oct 6, 8:21 AM
Unknown Object (File)
Mon, Oct 5, 7:22 PM
Unknown Object (File)
Sep 12 2026, 6:34 AM
Unknown Object (File)
Sep 11 2026, 6:00 AM
Unknown Object (File)
Sep 7 2026, 9:36 PM
Subscribers

Details

Summary

This code is simpler when we spell it the Unix way. Also, add sanity
checks to make sure the offset is where we think it is.

Fixes: afee781523e4 ("loader.efi: Recognize new memdisk=<url> and memcd=<url> options")
Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable