kauditd_rehold_skb(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… kauditd_rehold_skb(9) β€” Kernel API Manual, bestie edition πŸŽ€

okay so picture this: you're deep in the kernel API manual (iconic, honestly), and you've stumbled into kauditd_rehold_skb ✨ lowkey a little niche, highkey important if you're the audit queue girlies. let's get into it πŸ¦‹


✨ NAME ✨

kauditd_rehold_skb β€” the function that handles it when an audit record's send fails and it's sitting in the hold queue 😭


🌸 SYNOPSIS 🌸

void kauditd_rehold_skb (struct sk_buff *skb , int error );

that's the whole signature, no cap πŸ’… it returns void, so don't go looking for a return value, there isn't one 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • skb β€” the audit record itself. yes, the whole struct sk_buff, the main character πŸ“¦πŸ‘‘
  • error β€” an error code. and here's the gag: it's unused πŸ™ˆ literally just vibing there in the signature. respectful.

πŸ’– DESCRIPTION πŸ’–

so the way this works: kauditd_rehold_skb should only be used by the kauditd_thread when it fails to flush the hold queue 😭 like, this is not a general-purpose "call me whenever" situation, it's a specific little cleanup moment and it's for kauditd_thread alone. respect the boundaries fr fr πŸ”₯

ngl bestie, "only be used by the kauditd_thread" is a real instruction, not a suggestion β€” keep this one in its lane or you're gonna have a bad time πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

the whole friend group 🫢 β€” and also the kernel file they all live in:

Kernel file ./kernel/audit.c


and that's the page, bestie 🌈 you ate, you read the whole SEE ALSO list, I'm so proud πŸ’œ

sign-off szn: this little baddie comes from ./kernel πŸ“, dated October 2026 ⭐, and it's filed under kauditd_rehold_skb(9) 🧚 go forth and handle those send failures, queen πŸ‘‘πŸ’…

πŸ“¦ where this page comes from