vtpmx_ioc_new_dev(9)
π vtpmx_ioc_new_dev(9) π
okay bestie, welcome to the Kernel API Manual entry for vtpmx_ioc_new_dev(9) β it's the handler for the %VTPM_PROXY_IOC_NEW_DEV ioctl, and we're gonna vibe-check it together. no cap. π
β¨ NAME β¨
vtpmx_ioc_new_dev β handler for the %VTPM_PROXY_IOC_NEW_DEV ioctl
π¦ SYNOPSIS π¦
long vtpmx_ioc_new_dev (struct file *file , unsigned int ioctl ,
unsigned long arg );
πΈ ARGUMENTS πΈ
fileβ/dev/vtpmxioctlβ the ioctl numberargβ pointer to thestruct vtpmx_proxy_new_dev
π DESCRIPTION π
okay so picture this: vtpmx_ioc_new_dev creates an anonymous file, and that anonymous file is used by the process acting as a TPM to communicate with the client processes. it also adds a new TPM device, and data is proxied through that device to this TPM acting process. the caller gets a file descriptor to communicate with the clients, plus the major and minor numbers for the TPM device. literally the whole handoff, periodt. β¨
π SEE ALSO π
Kernel file ./drivers/char/tpm/tpm_vtpm_proxy.c β and bestie, also check vtpm_proxy_fops_read(9), vtpm_proxy_fops_write(9), and vtpm_proxy_fops_undo_open(9). iykyk. π«Ά
mwah π β source/version: ./drivers/char/tpm, date: October 2026. bye bestie, go slay those TPM proxies. π
π¦ 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