request_key_with_auxdata(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 (or NULL). yes, NULL is allowed, she's flexible πŸ’…
  • callout_len β€” the length of callout_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 🌈

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