auditd_send_unicast_skb(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’Œ auditd_send_unicast_skb(9) β€” like, the Kernel API Manual page, but make it make sense

okay so bestie, welcome to the auditd_send_unicast_skb(9) glow-up ✨ this one lives in the Kernel API Manual and honestly? she's a lil function with one job and a whole lot of lore. let's get into it 🫢


✨ NAME ✨

auditd_send_unicast_skb β€” the girl who sends a record via unicast to auditd πŸ’… no cap, that's the whole vibe.


πŸŽ€ SYNOPSIS πŸŽ€

int auditd_send_unicast_skb (struct sk_buff *skb );

one function, one arg, returns an int. iconic, minimal, we respect it πŸ’–


πŸ¦‹ ARGUMENTS πŸ¦‹

  • skb β€” the audit record itself, packaged up all cute in a struct sk_buff *. this is the thing you're yeeting over to auditd πŸš€

🌸 DESCRIPTION 🌸

so basically: you hand this function an skb and it sends that thing to the audit daemon. it returns positive/zero values on success and negative values on failure β€” that's your vibe check on how it went 😌

and here's the part you cannot miss, bestie, because it's giving "read the terms and conditions":

in all cases the skb will be consumed by this function. like, always. every single case. no refunds, no take-backs, don't-you-dare-touch-it-afterwards πŸ’€

more tea: if the send results in -ECONNREFUSED, the connection with auditd will be reset. so that's a whole thing that happens. πŸ”₯

and the big one β€” this function may sleep, so callers should not hold any locks where this would cause a problem 😭 fr fr, do not be out here holding locks and then calling this. that's not main character energy, that's a deadlock arc. periodt.


πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group πŸ’œ all of these are (9) entries, and yes we're listing every single one because nobody gets left behind:


and that's the page!! πŸŽ€βœ¨ this lil baddie came out of ./kernel and is dated October 2026 β€” so yeah, mark your calendars bestie, the kernel API manual said what it said πŸ’…πŸ¦‹ go forth and send your unicast skbs responsibly, mwah πŸ’–

πŸ“¦ where this page comes from