tee_client_close_context(9)
πΈ tee_client_close_context(9) β the kernel API manual, bestie edition πΈ
Okay so this is the tee_client_close_context page from the Kernel API Manual, and honestly? It's a short one. A lil snack. But it's important so pay attention π
β¨ NAME β¨
tee_client_close_context β closes a TEE context, that's the whole job π«Ά
β¨ SYNOPSIS β¨
void tee_client_close_context (struct tee_context *ctx );
β¨ ARGUMENTS β¨
ctxβ the TEE context you're closing. That's it. That's the argument. She's simple, she's iconic π
β¨ DESCRIPTION β¨
So here's the tea, bestie β β and it's a big one, so listen up:
Note that all sessions previously opened with this context will be closed when this function is called. π
Like, all of them. Every session that was opened with this context? Gone. Closed. Not me calling one function and accidentally yeeting every session associated with ctx π So fr fr, know what you're doing before you hit this one.
β¨ SEE ALSO β¨
The whole friend group, no cap π β here's everyone in the ./include/linux/tee_drv.h universe:
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_get_version(9)tee_client_open_session(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)
And that's the page, bestie! It lives in ./include/linux, it's dated October 2026, and it's tee_client_close_context(9) all the way down. Go forth and close your contexts responsibly πβ¨
π¦ 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