ne_start_en...check_booted(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 the ioctl interface provided by the Nitro Enclaves (NE)(9). literally the tutorial bestie, go read it πŸ“–

and the whole friend group, in order, no cap:


πŸ’… 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