sgx_encl_eaug_page(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sgx_encl_eaug_page(9) β€” Kernel API Manual ✨

okay so welcome to the Kernel API Manual entry for sgx_encl_eaug_page(9), and yes bestie, we’re getting into it 🫢


🌸 NAME 🌸

sgx_encl_eaug_page β€” Dynamically add page to initialized enclave πŸ’–


✨ SYNOPSIS ✨

vm_fault_t sgx_encl_eaug_page (struct vm_area_struct *vma , struct
       sgx_encl *encl , unsigned long addr );

πŸŽ€ ARGUMENTS πŸŽ€

  • vma β€” the VMA obtained from fault info from where the page is accessed, periodt πŸ¦‹
  • encl β€” the enclave accessing the page, main character energy fr fr πŸ‘‘
  • addr β€” the address that triggered the page fault, iconic πŸ’…

πŸ”₯ DESCRIPTION πŸ”₯

When an initialized enclave accesses a page with no backing EPC page on a SGX2 system, then the EPC can be added dynamically via the SGX2 ENCLS[EAUG] instruction. no cap, that’s the vibe ✨


πŸ’œ RETURN πŸ’œ

Appropriate vm_fault_t: VM_FAULT_NOPAGE when the PTE was installed successfully, or VM_FAULT_SIGBUS or VM_FAULT_OOM as error otherwise. lowkey important, bestie 🫢


🧚 SEE ALSO 🧚


and that’s the whole page, bestie πŸ’– cute little sign-off: source/version vibes come from ./arch/x86/kernel/cpu/sgx, dated October 2026, and the page itself is sgx_encl_eaug_page(9) βœ¨πŸŽ€

πŸ“¦ where this page comes from