request_key_with_auxdata(9)
π request_key_with_auxdata β Kernel API Manual, bestie edition
okay so this is request_key_with_auxdata(9) from the Kernel API Manual β yes the whole manual, we're doing this π β and it's literally the key-requesting function that also carries aux data for the upcaller. stay with me, it's actually not that deep π«Ά
β¨ NAME β¨
request_key_with_auxdata β request a key, but like, with auxiliary data for the upcaller π
πΈ SYNOPSIS πΈ
struct key * request_key_with_auxdata (struct key_type *type , const
char *description , struct key_tag *domain_tag , const void
*callout_info , size_t callout_len , void *aux );
π¦ ARGUMENTS π¦
typeβ the type of key we want. the vibe of key, basically β¨descriptionβ the searchable description of the key. this is how you find it again later, no cap πdomain_tagβ the domain in which the key operates. where it lives, its little neighborhood π‘callout_infoβ the data to pass to the instantiation upcall (orNULL). yes,NULLis allowed, she's flexible πcallout_lenβ the length ofcallout_info. gotta tell it how big the data is πauxβ auxiliary data for the upcall. the extra lil garnish π
π DESCRIPTION π
so it's exactly like request_key_and_link, except β and this is the main character detail β it does not add the returned key to a keyring if found, and new keys are always allocated in the user's quota. periodt β¨
on top of that, it then works as wait_for_key_construction to wait for the completion of keys undergoing construction, with a non-interruptible wait. like, it's committed. it's not taking interruptions, bestie π
ngl, that non-interruptible wait is the part you should actually remember β it means you're waiting and you can't just politely bail out π
π SEE ALSO π
- Kernel file
./security/keys/request_key.c complete_request_key(9)request_key_and_link(9)wait_for_key_construction(9)request_key_tag(9)request_key_rcu(9)
go read those, iykyk π
and that's the whole page, bestie π«Ά this icon was brought to you by the kernel file ./security/keys, dated October 2026, and yes the page is literally called request_key_with_auxdata(9) β iconic name, no notes ππ
π¦ 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