STRUCT TEE_IOCTL_CLOSE_SESSION_ARG(9)
β¨ NAME β¨
struct tee_ioctl_close_session_arg β bestie, this is the little struct that closes an open session π
okay so real talk, we're in the Kernel API Manual today (yes, section 9, the cool section), and this is the actual struct you hand over when you want a TEE session to wrap it up and go home. That's it. That's the whole job. She's small, she's focused, she's iconic. π
πΈ SYNOPSIS πΈ
struct tee_ioctl_close_session_arg {
__u32 session;
};
like, literally two lines of vibe. one field. no notes. π₯
π§ Members π§
sessionβ[in]the session id. that's your "which session are we closing" receipt, and you hand it in on the way in β¨
π« SEE ALSO π«
the whole friend group, no cap β go read these too or you're missing lore π«Ά
- Kernel file
./include/uapi/linux/tee.h struct tee_ioctl_version_data(9)TEE_IOC_VERSION(9)struct tee_ioctl_shm_alloc_data(9)TEE_IOC_SHM_ALLOC(9)struct tee_ioctl_buf_data(9)struct tee_ioctl_param(9)struct tee_ioctl_open_session_arg(9)TEE_IOC_OPEN_SESSION(9)struct tee_ioctl_invoke_arg(9)TEE_IOC_INVOKE(9)struct tee_ioctl_cancel_arg(9)TEE_IOC_CANCEL(9)TEE_IOC_CLOSE_SESSION(9)struct tee_iocl_supp_recv_arg(9)TEE_IOC_SUPPL_RECV(9)struct tee_iocl_supp_send_arg(9)TEE_IOC_SUPPL_SEND(9)struct tee_ioctl_shm_register_data(9)struct tee_ioctl_shm_register_fd_data(9)TEE_IOC_SHM_REGISTER_FD(9)TEE_IOC_SHM_REGISTER(9)struct tee_ioctl_object_invoke_arg(9)
ngl this one's a short read and that's the point β know the struct, pass the id, close the session, move on. main character energy only π
okay that's the whole page, ty for coming to my ted talk π this lil guy lives over in ./include/uapi/linux and the docs are dated October 2026, so likeβ¦ future-proofed bestie βπ
π¦ 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