STRUCT QCOMTEE_ARG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 an enum 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 is
  • b β€” the address and size, but only if the type of argument is a buffer πŸ“
  • o β€” the object instance, but only if the type of 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 πŸ’€

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