tee_client_system_session(9)
π NAME π
tee_client_system_session β okay bestie, this is the one that declares a session as a system session. Manual name: Kernel API Manual. Slay.
β¨ SYNOPSIS β¨
int tee_client_system_session (struct tee_context *ctx , u32 session );
π ARGUMENTS π
ctxβ the TEE Context. Like, the whole TEE context vibe for this call.sessionβ the Session id. The specific session we're hyping up.
π¦ DESCRIPTION π¦
So this function requests TEE to provision an entry context that's ready to use for that session only. The provisioned entry context is used for command invocation and session closure β not for command cancelling requests. TEE releases the provisioned context upon session closure. Cleanup queen behavior, honestly.
Return < 0 on error, else 0 if an entry context has been provisioned.
π SEE ALSO π
Go peek at these, bestie β they're all listed right here:
- 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_open_session(9)tee_client_close_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 π source/version: ./include/linux Β· date: October 2026 π«Ά
π¦ 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