TEE_IOC_INVOKE(9)
π TEE_IOC_INVOKE(9) β like, the Kernel API Manual, bestie π
okay so welcome to the <pink>TEE_IOC_INVOKE</pink> page, part of the <purple>Kernel API Manual</purple> β¨ pull up a chair, grab a strawberry π, we're learning ioctls today and honestly? it's gonna slay.
πΈ NAME πΈ
TEE_IOC_INVOKE β invokes a function in a Trusted Application π
like you literally call into the Trusted App and it does the thing, no cap.
π¦ SYNOPSIS π¦
TEE_IOC_INVOKE
that's it. that's the whole synopsis. iconic minimalist behaviour honestly π
β¨ DESCRIPTION β¨
so here's the vibe: <mint>TEE_IOC_INVOKE</mint> takes a struct tee_ioctl_buf_data π and that struct contains a struct tee_invoke_func_arg, which is then followed by any array of struct tee_param β yes bestie, an array, meaning zero or more of them, it's giving flexible β¨
so the layout is literally like:
struct tee_ioctl_buf_data
β¦wrapping a struct tee_invoke_func_argβ¦
β¦and then trailing behind it, any array of struct tee_param π«Ά
that's the whole description, she's short but she ate π
π₯ SEE ALSO π₯
okay this is the part where I point you at the entire friend group, because TEE_IOC_INVOKE does not exist in a vacuum, she has lore π
- the Kernel file
./include/uapi/linux/tee.hπ (yes, go read the actual header, iykyk) 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)struct tee_ioctl_cancel_arg(9)TEE_IOC_CANCEL(9)struct tee_ioctl_close_session_arg(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)
like, that's the whole group chat, every single one of them, don't skip a single bestie π
π«Ά friendly reminder: everything above is exactly what the page says β no invented tips, no extra behaviour claims. read the header file, it's right there, it's giving source of truth π
and that's the page!! mwah π this one came out of ./include/uapi/linux and it's dated October 2026, filed under TEE_IOC_INVOKE(9) β literally the whole footer, just with sparkles βπ bye bestie, go invoke something π§π
π¦ 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