USER MEMORY REGION FLAGS(9)
π NAME
User memory region flags β the little flags that go with user memory regions, from the Kernel API Manual. That's literally the whole page bestie, it's a "see also" situation, no cap.
β¨ SEE ALSO
Okay so this page is basically a jump-hub π«Ά β everything you'd wanna read next lives here. Same order, nothing dropped, promise.
π§ The kernel bits
Kernel file ./include/uapi/linux/nitro_enclaves.hβ the actual header where all this lives, go look at the source, it's giving primary source energy π- Kernel Driver Interface(9) β the driver-side overview, start here fr fr
π The main NE calls
- NE_CREATE_VM(9)
- NE_ADD_VCPU(9)
- NE_GET_IMAGE_LOAD_INFO(9)
- NE_SET_USER_MEMORY_REGION(9)
- NE_START_ENCLAVE(9)
π NE specific error codes
- NE specific error codes(9) β the parent page for all the
NE_ERR_*girlies below - NE_ERR_VCPU_ALREADY_USED(9)
- NE_ERR_VCPU_NOT_IN_CPU_POOL(9)
- NE_ERR_VCPU_INVALID_CPU_CORE(9)
- NE_ERR_INVALID_MEM_REGION_SIZE(9)
- NE_ERR_INVALID_MEM_REGION_ADDR(9)
- NE_ERR_UNALIGNED_MEM_REGION_ADDR(9)
- NE_ERR_MEM_REGION_ALREADY_USED(9)
- NE_ERR_MEM_NOT_HUGE_PAGE(9)
- NE_ERR_MEM_DIFFERENT_NUMA_NODE(9)
- NE_ERR_MEM_MAX_REGIONS(9)
- NE_ERR_NO_MEM_REGIONS_ADDED(9)
- NE_ERR_NO_VCPUS_ADDED(9)
- NE_ERR_ENCLAVE_MEM_MIN_SIZE(9)
- NE_ERR_FULL_CORES_NOT_USED(9)
- NE_ERR_NOT_IN_INIT_STATE(9)
- NE_ERR_INVALID_VCPU(9)
- NE_ERR_NO_CPUS_AVAIL_IN_POOL(9)
- NE_ERR_INVALID_PAGE_SIZE(9)
- NE_ERR_INVALID_FLAG_VALUE(9)
- NE_ERR_INVALID_ENCLAVE_CID(9)
π¦ Image load info flags
- Image load info flags(9)
- NE_EIF_IMAGE(9)
- struct ne_image_load_info(9)
πΈ Memory region flags & structs
- NE_DEFAULT_MEMORY_REGION(9)
- struct ne_user_memory_region(9)
π₯ Enclave start info flags
- Enclave start info flags(9)
- NE_ENCLAVE_PRODUCTION_MODE(9)
- NE_ENCLAVE_DEBUG_MODE(9)
- struct ne_enclave_start_info(9)
Okay and that's the whole page, bestie β go click through the refs, iykyk π
Later babe! π This one's from ./include/uapi/linux, dated October 2026 β mwah, catch you on the next page ππ
π¦ 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