kauditd_send_queue(9)
π NAME π
Okay so bestie, this is the page for kauditd_send_queue from the Kernel API Manual β and itβs literally the helper for kauditd_thread to flush skb queues. π
β¨
πΈ SYNOPSIS πΈ
int kauditd_send_queue (struct sock *sk , u32 portid , struct
sk_buff_head *queue , unsigned int retry_limit , void (*skb_hook)(struct
sk_buff *skb) , void (*err_hook)(struct sk_buff *skb, int error) );
π¦ ARGUMENTS π¦
skβ the sending sock, aka the socket doing the sending π«Άportidβ the netlink destination, where itβs headed πqueueβ the skb queue to process, the whole lineup to get through πretry_limitβ limit on number of netlink unicast failures, like the βokay bestie, we tried enoughβ cap πskb_hookβ per-skb hook for additional processing, a little extra touch per skb β¨err_hookβ hook called if the skb fails the netlink unicast send, for when it does not slay π
π DESCRIPTION π
Run through the given queue and attempt to send the audit records to auditd β it returns 0 on success and negative values on failure. No cap, thatβs the contract. π
Big caveat, bestie: it is up to the caller to ensure thatskis valid for the duration of this function. That part is not optional β keepskalive the whole time this function is running. π¨
β¨ SEE ALSO β¨
Kernel file ./kernel/audit.c, plus the whole squad:
struct 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)auditd_send_unicast_skb(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)
Thatβs the whole vibe, bestie π β source/version: ./kernel, date: October 2026, and the page is kauditd_send_queue(9). Mwah, go read the kernel code ππ
π¦ 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