NE_GET_IMAGE_LOAD_INFO(9)
π NE_GET_IMAGE_LOAD_INFO(9) β Kernel API Manual π
Hii bestie!! Welcome to NE_GET_IMAGE_LOAD_INFO(9) from the Kernel API Manual β this is the page for the info you need for in-memory enclave image loading, and itβs lowkey iconic. β¨π
πΈ NAME πΈ
NE_GET_IMAGE_LOAD_INFO β the command is used to get information needed for in-memory enclave image loading, e.g. offset in enclave memory to start placing the enclave image. π
The image load info is an input / output parameter. It includes info provided by the caller β flags β and returns the offset in enclave memory where to start placing the enclave image. The ioctl can be invoked on the enclave fd, before an enclave is started. π¦
β¨ SYNOPSIS β¨
NE_GET_IMAGE_LOAD_INFO
π CONTEXT π
Process context. π
π₯ RETURN π₯
0β Logic successfully completed. β-1β There was a failure in the ioctl logic. π On failure,errnois set to:EFAULTβcopy_from_user/copy_to_userfailure.NE_ERR_NOT_IN_INIT_STATEβ The enclave is not in init state (init= before being started).NE_ERR_INVALID_FLAG_VALUEβ The value of the provided flag is invalid.
π SEE ALSO π
Kernel file: ./include/uapi/linux/nitro_enclaves.h π
Nitro Enclaves (NE) Kernel Driver Interface(9)NE_CREATE_VM(9)NE_ADD_VCPU(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)struct ne_image_load_info(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)
Thatβs the whole page, bestie! π Source/version: ./include/uapi/linux Β· Date: October 2026 Β· Byeee! π
π¦ 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