qcomtee_update_args(9)
π qcomtee_update_args β the kernel API manual, bestie edition β¨
okay so this is qcomtee_update_args(9) from the kernel API manual, and honestly? it's giving "small function, big responsibilities." let's get into it π«Ά
πΈ NAME πΈ
qcomtee_update_args β parse the QTEE response out of the inbound buffer. that's the whole vibe. π«
β¨ SYNOPSIS β¨
int qcomtee_update_args (struct qcomtee_arg *u , struct qcomtee_object_invoke_ctx *oic );
like, two args, one int coming back at you. classic. π
π¦ ARGUMENTS π¦
uβ array of arguments for the invocation. yes bestie, the argument array, the whole lineup πoicβ context to use for the invocation. it's the invoke context, it's literally in the name iykyk
π DESCRIPTION π
okay so here's the tea β β u must be the same as the one you used in qcomtee_prepare_msg when initializing the inbound buffer. same array, no substitutions, no "close enough." it's giving "wear the exact outfit we agreed on" energy. π
and here's the part you actually need to know: on failure, it continues processing the QTEE message. it does not bail early, it does not clean up after itself. so the caller β that's you, bestie β should do the necessary cleanup, including calling qcomtee_object_put on the output objects. don't leave those objects hanging, that's not the main character behavior we're going for π
fr fr, if this fails you still gotta clean up. qcomtee_object_put on the output objects. no cap. π§
β RETURN β
- on success, returns
0β slay β¨ - on failure, returns
< 0β not slay, go do your cleanup π
π SEE ALSO π
- Kernel file
./drivers/tee/qcomtee/core.cβ the source of truth, go read it π qcomtee_object_get(9)qcomtee_object_put(9)qcomtee_object_id_get(9)qcomtee_local_object_get(9)qcomtee_object_user_init(9)qcomtee_object_type(9)qcomtee_object_qtee_init(9)qcomtee_prepare_args(9)qcomtee_qtee_objects_put(9)qcomtee_object_do_invoke_internal(9)qcomtee_object_get_client_env(9)
that's a whole friend group of functions right there, they all ate π π₯
and that's the page!! brought to you by ./drivers/tee/qcomtee, dated October 2026, still living in the qcomtee_update_args(9) era π¦π go parse those responses responsibly bestie π
π¦ 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