ne_sanity_ch..._region_page(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so this is from the Kernel API Manual, and the main character is ne_sanity_check_user_mem_region_page β€” it sanity checks a page from the user space memory region received during the set user memory region ioctl call. periodt πŸ’…


✨ SYNOPSIS ✨

int ne_sanity_check_user_mem_region_page (struct ne_enclave *ne_enclave
, struct page *mem_region_page );

🫢 ARGUMENTS 🫢

  • ne_enclave β€” private data associated with the current enclave. literally the enclave's little info clutch πŸ’–
  • mem_region_page β€” page from the user space memory region to be sanity checked. this is the page getting the vibe check πŸ¦‹

πŸŽ€ CONTEXT πŸŽ€

Process context. This function is called with the ne_enclave mutex held. so yeah, bestie, the mutex is already locked when this runs β€” no cap πŸ”’βœ¨


πŸ’… RETURN πŸ’…

  • 0 on success. slay βœ…
  • Negative return value on failure. if it's negative, it's giving fail 😭

πŸ”₯ SEE ALSO πŸ”₯

the whole icon squad is here, fr fr:


mwah πŸ’– this page is filed under ./drivers/virt/nitro_enclaves, and the version date is October 2026. bye bestie 🫢✨

πŸ“¦ where this page comes from