tee_client_open_session(9)
π§ββοΈβ¨ tee_client_open_session(9) π Kernel API Manual β¨π§ββοΈ
okay bestie, gather round π«Ά this one is all about opening a session to a Trusted Application, and it's giving kernel-API main character energy. no cap, it's short and slay.
πΈ NAME πΈ
tee_client_open_session β Open a session to a Trusted Application π
β¨ SYNOPSIS β¨
int tee_client_open_session (struct tee_context *ctx , struct
tee_ioctl_open_session_arg *arg , struct tee_param *param );
π ARGUMENTS π
ctxβ TEE context πargβ Open session arguments, see description ofstruct tee_ioctl_open_session_argπparamβ Parameters passed to the Trusted Application π
π DESCRIPTION π
Okay so here's the tea β: this returns < 0 on error; otherwise, check arg->ret for the result. If arg->ret is TEEC_SUCCESS, the session identifier is available in arg->session. That's it β iconic, concise, periodt. π
π¦ SEE ALSO π¦
the whole squad, linked and everything π―ββοΈ:
- Kernel file
./include/linux/tee_drv.h struct tee_context(9)struct tee_shm(9)tee_shm_alloc_kernel_buf(9)tee_shm_register_kernel_buf(9)tee_shm_register_fd(9)tee_shm_free(9)tee_shm_get_va(9)tee_shm_get_pa(9)tee_shm_get_size(9)tee_shm_get_pages(9)tee_shm_get_page_offset(9)tee_client_open_context(9)tee_client_close_context(9)tee_client_get_version(9)tee_client_close_session(9)tee_client_system_session(9)tee_client_invoke_func(9)tee_client_cancel_req(9)struct tee_client_device(9)struct tee_client_driver(9)
xoxo, your kernel bestie π this tee_client_open_session(9) page came from ./include/linux, dated October 2026, in the Kernel API Manual. πβ¨
π¦ 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