keyring_search(9)
π¦ keyring_search(9) β Kernel API Manual π¦
okay so bestie, welcome to the Kernel API Manual β this page is literally about keyring_search(9), and it's here to search the supplied keyring tree for a matching key. π
no cap.
β¨ NAME β¨
keyring_search β search the supplied keyring tree for a matching key. that's the whole assignment, bestie. π
πΈ SYNOPSIS πΈ
key_ref_t keyring_search (key_ref_t keyring , struct key_type *type ,
const char *description , bool recurse );
π ARGUMENTS π
keyringβ the root of the keyring tree to be searched. it's giving main character of the search, periodt. πtypeβ the type of keyring we want to find. gotta match the right vibe. π¦descriptionβ the name of the keyring we want to find. yep, it's the name tag bestie. π·οΈrecurseβTrueto search the children ofkeyringalso. so if you want the whole fam involved, this is the one. π
π₯ DESCRIPTION π₯
It's exactly like keyring_search_rcu above, bestie β but this one is using the current task's credentials, plus type's default matching function and its preferred search method. slay, honestly. β¨
π SEE ALSO π
Kernel file ./security/keys/keyring.c β and the whole icon lineup: key_put_tag(9), key_remove_domain(9), restrict_link_reject(9), keyring_search_rcu(9), keyring_restrict(9), key_link(9), key_unlink(9), key_move(9), keyring_clear(9). iykyk π
mwah π β this cutie came from ./security/keys, dated October 2026, and it's keyring_search(9) in the Kernel API Manual forever. bye 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