tee_shm_get_fd(9)
π tee_shm_get_fd β okay so bestie, listen
Hey hi hello, welcome to the Kernel API Manual entry for tee_shm_get_fd(9), and no I'm not gonna make you go find the header line yourself, it's right there in the title, we're already vibing β¨
πΈ NAME πΈ
tee_shm_get_fd β literally just bumps the reference count and hands you back a file descriptor. That's the whole gig, and honestly? She ate. π
β¨ SYNOPSIS β¨
int tee_shm_get_fd (struct tee_shm *shm );
Yeah. One arg. One int coming back. Clean, iconic, no notes. π
π«Ά ARGUMENTS π«Ά
shmβ the shared memory handle, and she's the one who returns the user space file descriptor pointing at that shared memory. So likeβ¦ she's the plug, the fd is the drop, iykyk π¦
π SEE ALSO π
Kernel file ./drivers/tee/tee_shm.c, and then the whole friend group, fr fr, everybody's here:
tee_shm_alloc_user_buf(9)tee_shm_alloc_kernel_buf(9)tee_shm_alloc_priv_buf(9)tee_shm_alloc_dma_mem(9)tee_shm_register_user_buf(9)tee_shm_register_kernel_buf(9)tee_shm_free(9)tee_shm_get_va(9)tee_shm_get_pa(9)tee_shm_get_from_id(9)tee_shm_put(9)
Ngl bestie, go read the others too, this one's short but the squad is stacked π
Okay that's the page!! Sourced from the ./drivers/tee directory, dated October 2026, in the Kernel API Manual β mwah, sending you a little π and a π on your way out, go get that file descriptor king π
π¦ 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