auditd_send_unicast_skb(9)
π 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 astruct sk_buff *. this is the thing you're yeeting over toauditdπ
πΈ 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:
Kernel file ./kernel/audit.cstruct audit_net(9)struct auditd_connection(9)struct audit_ctl_mutex(9)auditd_test_task(9)audit_ctl_lock(9)audit_ctl_unlock(9)audit_ctl_owner_current(9)auditd_pid_vnr(9)audit_cfg_lsm(9)audit_get_sk(9)audit_log_lost(9)auditd_conn_free(9)auditd_set(9)kauditd_printk_skb(9)kauditd_rehold_skb(9)kauditd_hold_skb(9)kauditd_retry_skb(9)auditd_reset(9)kauditd_send_queue(9)kauditd_thread(9)audit_send_reply(9)audit_receive(9)audit_serial(9)audit_log_start(9)audit_expand(9)audit_log_format(9)audit_log_n_hex(9)audit_string_contains_control(9)audit_log_n_untrustedstring(9)audit_log_untrustedstring(9)audit_buffer_aux_new(9)audit_buffer_aux_end(9)audit_log_subj_ctx(9)audit_log_path_denied(9)audit_set_loginuid(9)audit_signal_info(9)__audit_log_end(9)audit_log_end(9)audit_log(9)
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
- 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