kauditd_rehold_skb(9)
π 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 wholestruct 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
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_hold_skb(9)kauditd_retry_skb(9)auditd_reset(9)auditd_send_unicast_skb(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, 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
- 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