ne_start_en...check_booted(9)
π ne_start_enclave_check_booted β the glow-up page π
okay so bestie, welcome to the Kernel API Manual entry for ne_start_enclave_check_booted(9) β yes that's the whole page title up there, no we're not retyping the truncated version, we're being classy about it. anyway. sit down, grab a strawberry π, let's talk about waking up an enclave and asking it "u up?" π
β¨ NAME β¨
ne_start_enclave_check_booted β start the enclave, then wait for a heartbeat from it over a brand-new vsock channel, all to check that it actually booted. like texting "you alive??" but for a security enclave π«Ά
πΈ SYNOPSIS πΈ
int ne_start_enclave_check_booted (int enclave_fd );
that's it. one fd. she's lowkey minimalist, we respect it β¨
π ARGUMENTS π
enclave_fdβ the file descriptor associated with the enclave. your little handle to the whole thing. keep her safe, she's precious π§
π¦ CONTEXT π¦
Process context. that's the vibe check β no interrupt weirdness, no atomic panic, just plain process context, bestie π
π₯ RETURN π₯
0β on success. slay. the enclave booted, the heartbeat landed, everyone clapped π- Negative return value β on failure. π something went sideways; a negative number is the kernel's way of saying "not me dealing with this rn" π
π SEE ALSO π
- Kernel file
./samples/nitro_enclaves/ne_ioctl_sample.cβ the sample flow of using theioctlinterface provided by the Nitro Enclaves (NE)(9). literally the tutorial bestie, go read it π
and the whole friend group, in order, no cap:
NE_DEV_NAME(9)NE_POLL_WAIT_TIME(9)NE_POLL_WAIT_TIME_MS(9)NE_SLEEP_TIME(9)NE_DEFAULT_NR_VCPUS(9)NE_MIN_MEM_REGION_SIZE(9)NE_DEFAULT_NR_MEM_REGIONS(9)NE_IMAGE_LOAD_HEARTBEAT_CID(9)NE_IMAGE_LOAD_HEARTBEAT_PORT(9)NE_IMAGE_LOAD_HEARTBEAT_VALUE(9)struct ne_user_mem_region(9)ne_create_vm(9)ne_poll_enclave_fd(9)ne_alloc_user_mem_region(9)ne_load_enclave_image(9)ne_set_user_mem_region(9)ne_free_mem_regions(9)ne_add_vcpu(9)ne_start_enclave(9)
π reminder: this page is part of the kernel API docs, so the facts above are locked in. the vibes are mine, the flags are not.
aaaand that's the whole page, bestie π sign-off time: this little gem comes from ./samples/nitro_enclaves, dated October 2026, and lives under ne_start_en...check_booted(9) β iconic, no notes, periodt β¨ππ¦
π¦ 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