STRUCT QCOMTEE_ARG(9)
π struct qcomtee_arg(9) π
okay bestie, welcome to the Kernel API Manual β this one's a little struct page and it's literally the whole vibe of "here's the argument you hand to a QTEE object invocation" π
β¨ NAME β¨
struct qcomtee_arg β the Argument for QTEE object invocation. that's it, that's the whole thing, she's an argument struct and she knows it π
π¦ SYNOPSIS π¦
struct qcomtee_arg {
enum qcomtee_arg_type type;
#define QCOMTEE_ARG_FLAGS_UADDR BIT(0);
unsigned int flags;
union {
struct qcomtee_buffer b;
struct qcomtee_object *o;
};
};
no cap, copy that exactly, don't get creative with it π
πΈ Members πΈ
typeβ the type of this argument, and it's anenum qcomtee_arg_type. lowkey the main character field πflagsβ extra flags. lil extras. garnish. you know how it is β¨{unnamed_union}β anonymous π she has no name, she just isbβ the address and size, but only if thetypeof argument is a buffer πoβ the object instance, but only if thetypeof argument is an object π«Ά
π₯ Description π₯
so qcomtee_arg.flags only accepts QCOMTEE_ARG_FLAGS_UADDR for now β that's the one and only flag in the club rn β and what it's saying is that qcomtee_arg.b contains a userspace address in uaddr. that's the whole flag's job, and she ate π
ngl, "for now" is doing a lot of heavy lifting there β that's exactly what the page says, so don't come for me if more flags show up later π
π SEE ALSO π
- Kernel file
./drivers/tee/qcomtee/qcomtee_object.hOverview(9) enum qcomtee_object_type(9)enum qcomtee_arg_type(9)QCOMTEE_ARGS_PER_TYPE(9)struct qcomtee_object_invoke_ctx(9)qcomtee_object_do_invoke(9)struct qcomtee_object_operations(9)struct qcomtee_object(9)qcomtee_object_user_init(9)
like, go read those too, it's giving "required reading" and honestly? iconic π
mwah π that's the page! this little cutie lives in ./drivers/tee/qcomtee and the date on her birth certificate says October 2026, so go off, future queen πβ
struct qcomtee_arg(9) β 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