STRUCT SGX_SECINFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

struct sgx_secinfo(9)

okay bestie, welcome to the Kernel API Manual corner for struct sgx_secinfo(9) β€” we're folding the manual name in right here because that's the vibe. πŸ’–

✨ NAME ✨

struct sgx_secinfo - describes attributes of an EPC page. that's it, that's the whole assignment, and it ate. πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

       struct sgx_secinfo {
           u64 flags;
           u8 reserved[56];
        };

πŸŽ€ Members πŸŽ€

  • flags β€” permissions and type. literally the permissions and type info, slay. ✨

🌸 Description 🌸

bestie, this struct is used together with ENCLS leaves that add or modify an EPC page to an enclave, and it defines page permissions and type. no cap, that's the whole purpose. 🫢

πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./arch/x86/include/asm and SGX_ENCLS_FAULT_FLAG(9)
  • enum sgx_return_code(9)
  • enum sgx_miscselect(9)
  • enum sgx_attribute(9)
  • struct sgx_secs(9)
  • enum sgx_tcs_flags(9)
  • struct sgx_tcs(9)
  • struct sgx_pageinfo(9)
  • enum sgx_page_type(9)
  • enum sgx_secinfo_flags(9)
  • struct sgx_pcmd(9)
  • struct sgx_sigstruct_header(9)
  • struct sgx_sigstruct_body(9)
  • struct sgx_sigstruct(9)

mwah πŸ’– this page's source/version is ./arch/x86/include/asm, the date is October 2026, and yes it's still struct sgx_secinfo(9) β€” iconic, periodt. 🌈

πŸ“¦ where this page comes from