NE_GET_IMAGE_LOAD_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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, errno is set to:
    • EFAULT β€” copy_from_user / copy_to_user failure.
    • 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 πŸ“


That’s the whole page, bestie! πŸ’Œ Source/version: ./include/uapi/linux Β· Date: October 2026 Β· Byeee! πŸ‘‘

πŸ“¦ where this page comes from