ne_sanity_ch..._region_page(9)
πΈ 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 π
0on 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:
Kernel file ./drivers/virt/nitro_enclaves/ne_misc_dev.c Enclave lifetime management driver for Nitro Enclaves (NE).(9)NE_CPUS_SIZE(9)NE_EIF_LOAD_OFFSET(9)NE_MIN_ENCLAVE_MEM_SIZE(9)NE_MIN_MEM_REGION_SIZE(9)NE_PARENT_VM_CID(9)struct ne_cpu_pool(9)struct ne_phys_contig_mem_regions(9)ne_check_enclaves_created(9)ne_setup_cpu_pool(9)ne_teardown_cpu_pool(9)ne_set_kernel_param(9)ne_donated_cpu(9)ne_get_unused_core_from_cpu_pool(9)ne_set_enclave_threads_per_core(9)ne_get_cpu_from_cpu_pool(9)ne_get_vcpu_core_from_cpu_pool(9)ne_check_cpu_in_cpu_pool(9)ne_add_vcpu_ioctl(9)ne_sanity_check_user_mem_region(9)ne_sanity_check_phys_mem_region(9)ne_merge_phys_contig_memory_regions(9)ne_set_user_memory_region_ioctl(9)ne_start_enclave_ioctl(9)ne_enclave_ioctl(9)ne_enclave_remove_all_mem_region_entries(9)ne_enclave_remove_all_vcpu_id_entries(9)ne_pci_dev_remove_enclave_entry(9)ne_enclave_release(9)ne_enclave_poll(9)ne_create_vm_ioctl(9)ne_ioctl(9)
mwah π this page is filed under ./drivers/virt/nitro_enclaves, and the version date is October 2026. bye bestie π«Άβ¨
π¦ 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