STRUCT TEE_IOCTL_SHM_REGISTER_DATA(9)
π NAME π
okay so bestie, this page is from the Kernel API Manual, and today we're decoding struct tee_ioctl_shm_register_data (section 9) β literally the Shared memory register argument π
β¨.
β¨ SYNOPSIS β¨
struct tee_ioctl_shm_register_data {
__u64 addr;
__u64 length;
__u32 flags;
__s32 id;
};
π Members π
addrβ [in] Start address of shared memory to register. that's the starting-address vibe π«Άlengthβ [in/out] Length of shared memory to register. in and out, she contains multitudes.flagsβ [in/out] Flags to/from registration. yes, to AND from, iconic.idβ [out] Identifier of the shared memory. your little shm ID, slay π
π¦ Description π¦
So here's the tea: the flags field should currently be zero as input. Updated by the call with actual flags as defined by TEE_IOCTL_SHM_* above. This structure is used as argument for TEE_IOC_SHM_REGISTER below.
bestie, fr fr:flagsshould currently be zero as input β that's the vibe check. It gets updated by the call with the actual flags as defined byTEE_IOCTL_SHM_*above. No cap. π«Ά
π SEE ALSO π
Kernel file ./include/uapi/linux β and the whole linked bestie crew:
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)struct tee_iocl_supp_recv_arg(9)TEE_IOC_SUPPL_RECV(9)struct tee_iocl_supp_send_arg(9)TEE_IOC_SUPPL_SEND(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)
that's the whole page, bestie! source/version: ./include/uapi/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