key_invalidate(9)
π key_invalidate(9) β Invalidate a key π
okay so bestie, welcome to the Kernel API Manual page for key_invalidate(9) β yes, that's the manual name folded in right here at the top, cute and accounted for π«Ά.
πΈ NAME πΈ
key_invalidate β Invalidate a key.
β¨ SYNOPSIS β¨
void key_invalidate (struct key *key );
π ARGUMENTS π
keyβ the key that's getting invalidated. That's the main character of this whole page, no cap π
π¦ DESCRIPTION π¦
So what it does: it marks a key as being invalidated and has it cleaned up immediately β¨.
From this point on, the key is ignored by all searches and other operations β like it's literally not invited to the group chat anymore, periodt.
π₯ SEE ALSO π₯
Kernel file ./security/keys/key.c has all the related icons, bestie:
key_alloc(9)key_payload_reserve(9)key_instantiate_and_link(9)key_reject_and_link(9)key_put(9)key_create_or_update(9)key_create(9)key_update(9)key_revoke(9)generic_key_instantiate(9)register_key_type(9)unregister_key_type(9)
made with π from ./security/keys, dated October 2026 β that's the source/version + date, not me copy-pasting the footer, iykyk π«Ά
π¦ 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