STRUCT NE_IMAGE_LOAD_INFO(9)
π NAME π
okay bestie, this is the struct ne_image_load_info(9) page from the Kernel API Manual β a tiny struct with main-character energy. Its whole vibe is: Info necessary for in-memory enclave image loading (in / out). The duality is iconic, honestly. π
β¨ SYNOPSIS β¨
the struct, verbatim, no cap:
struct ne_image_load_info {
__u64 flags;
__u64 memory_offset;
};
π Members π
flagsβ Flags to determine the enclave image type (e.g. Enclave Image Format - EIF) (in). This one is marked (in), so it's input-coded.memory_offsetβ Offset in enclave memory where to start placing the enclave image (out). This one is marked (out) β the output reveal. π«Ά
π¦ SEE ALSO π¦
go read these, bestie β every single one, fr fr:
- Kernel file:
./include/uapi/linux/nitro_enclaves.h Nitro Enclaves (NE) Kernel Driver Interface(9)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(9)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(9)NE_EIF_IMAGE(9)User memory region flags(9)NE_DEFAULT_MEMORY_REGION(9)struct ne_user_memory_region(9)Enclave start info flags(9)NE_ENCLAVE_PRODUCTION_MODE(9)NE_ENCLAVE_DEBUG_MODE(9)struct ne_enclave_start_info(9)
and that's the whole page, bestie! source/version: ./include/uapi/linux; date: October 2026. stay iconic, and remember: this was your struct ne_image_load_info(9) moment πβ¨
π¦ 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