STRUCT SECRET_HEADER(9)
π struct secret_header(9) π
okay bestie, so this is a kernel API manual page for struct secret_header, and it's literally the glow-up your day needed. buckle in π
β¨ NAME β¨
struct secret_header β it's the header of the entire secret area π and the vibe is that this thing should be followed by instances of struct secret_entry. like, header first, entries after, no cap. π¦
β¨ SYNOPSIS β¨
struct secret_header {
efi_guid_t guid;
u32 len;
};
look at her. two members. iconic. π
β¨ Members β¨
guidβ this one must beEFI_SECRET_TABLE_HEADER_GUID. not "should", not "maybe", must. it's giving strict queen energy π so don't try anything cute with it.lenβ the length in bytes of the entire secret area, including the header. yes, including the header, bestie. the whole thing. don't forget to count the header itself or the math will not eat π
πΈ SEE ALSO πΈ
- Kernel file
./drivers/virt/coco/efi_secret/efi_secret.c efi_secret: Allow reading EFI confidential computing (coco) secret area(9)struct secret_entry(9)
fr fr go read those next, they're the supporting cast and they understood the assignment π«Ά
π lowkey a reminder:guidhas exactly one legal value andlencovers the whole area, header included. those two facts are doing all the heavy lifting here, so don't sleep on them π
and that's the page, bestie!! πβ¨ source/version is ./drivers/virt/coco/efi_secret, dated October 2026, and the manual is struct secret_header(9) β mwah, take care, drink water, and may your secret areas always be correctly sized ππ§π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms