STRUCT TEE_IOCL_SUPP_RECV_ARG(9)
β¨ struct tee_iocl_supp_recv_arg(9) β¨
okay so bestie, we're in the Kernel API Manual, section 9, and today's main character is struct tee_iocl_supp_recv_arg β literally the thing that catches an incoming request for a supplicant function π«Ά ngl it's a glow-up of a struct, let's get into it.
πΈ NAME πΈ
struct tee_iocl_supp_recv_arg β Receive a request for a supplicant function π
π¦ SYNOPSIS π¦
struct tee_iocl_supp_recv_arg {
__u32 func;
__u32 num_params;
struct tee_ioctl_param params[];
};
that's the whole fit, no cap β¨
π Members π
funcβ [in] supplicant function. this is the input girlie telling you which function we're talking about πnum_paramsβ [in/out] number ofstruct tee_ioctl_paramentries inparams. she works both directions, we love a versatile icon πparamsβ array of ioctl parameters. the whole squad of them π
π Description π
okay this is the part you actually need to remember, so listen up π₯
num_params is the number of params that tee-supplicant has room to receive when input, and num_params is the number of actual params tee-supplicant receives when output.
so like β same field, two completely different vibes depending on which way the data's flowing. input: how much room she has π«Ά output: how much actually showed up π don't mix them up, i'm begging.
β SEE ALSO β
Kernel file ./include/uapi/linux/tee.h β and the whole extended friend group:
struct tee_ioctl_version_data(9)TEE_IOC_VERSION(9)struct tee_ioctl_shm_alloc_data(9)TEE_IOC_SHM_ALLOC(9)struct tee_ioctl_buf_data(9)struct tee_ioctl_param(9)struct tee_ioctl_open_session_arg(9)TEE_IOC_OPEN_SESSION(9)struct tee_ioctl_invoke_arg(9)TEE_IOC_INVOKE(9)struct tee_ioctl_cancel_arg(9)TEE_IOC_CANCEL(9)struct tee_ioctl_close_session_arg(9)TEE_IOC_CLOSE_SESSION(9)TEE_IOC_SUPPL_RECV(9)struct tee_iocl_supp_send_arg(9)TEE_IOC_SUPPL_SEND(9)struct tee_ioctl_shm_register_data(9)struct tee_ioctl_shm_register_fd_data(9)TEE_IOC_SHM_REGISTER_FD(9)TEE_IOC_SHM_REGISTER(9)struct tee_ioctl_object_invoke_arg(9)
π reminder that num_params changes meaning between input and output β that's not a bug, that's just her being an icon. read the Description again if you're confused, i got you π§
okay bye bestie, that's the page!! this one lives in ./include/uapi/linux, dated October 2026, and it's filed under struct tee_...upp_recv_arg(9) β slay, go read the source, periodt ππ
π¦ 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