STRUCT VAR_CHECK_PROPERTY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct var_check_property(9) πŸ’–

okay bestie, welcome to the Kernel API Manual ✨ this page is all about a struct that stores variable properties in StMM β€” yes, this little struct is the main character here πŸ‘‘.

🌸 NAME 🌸

struct var_check_property β€” used to store variable properties in StMM 🫢

✨ SYNOPSIS ✨

       struct var_check_property {
           u16 revision;
           u16 property;
           u32 attributes;
           size_t minsize;
           size_t maxsize;
        };

🧚 Members 🧚

  • revision β€” the magic revision number for variable property checking ✨ it's giving β€œtrust me, I'm the revision.”
  • property β€” the properties mask for the variable used in StMM πŸ’… and currently the RO flag is supported.
  • attributes β€” variable attributes used in StMM checking when properties for a variable are enabled πŸŽ€.
  • minsize β€” minimum allowed size for variable payload, checked against smm_variable_access->datasize in StMM πŸ”.
  • maxsize β€” maximum allowed size for variable payload, checked against smm_variable_access->datasize in StMM πŸ”.

πŸ¦‹ SEE ALSO πŸ¦‹

okay go look at these, bestie:

  • Kernel file ./drivers/firmware/efi/stmm/mm_communication.h
  • struct efi_mm_communicate_header(9)
  • struct smm_variable_communicate_header(9)
  • struct smm_variable_access(9)
  • struct smm_variable_payload_size(9)
  • struct smm_variable_getnext(9)
  • struct smm_variable_query_info(9)
  • struct smm_variable_var_check_property(9)

and that's the whole vibe check πŸ’– source/version moment: this page lives under ./drivers/firmware/efi/stmm, dated October 2026, and it's for struct var_check_property(9) β€” periodt ✨🫢

πŸ“¦ where this page comes from