audit_strin...ains_control(9)
π audit_string_contains_control(9) β the Kernel API Manual, bestie edition π
okay so this one lives in the Kernel API Manual (yes, the Kernel API Manual section, we're fancy here) and the page is audit_string_contains_control(9). it's short, it's sweet, it's a vibe check for strings. let's go π«Ά
β¨ NAME β¨
audit_string_contains_control β literally just answers the question "does this string need to be logged in hex?" no cap, that's the whole personality π
πΈ SYNOPSIS πΈ
bool audit_string_contains_control (const char *string , size_t len );
it returns a bool β so it's giving yes/no, true/false, slay/not-slay π
π¦ ARGUMENTS π¦
stringβ the string to be checked. like, the actual one you're side-eyeing πlenβ max length of the string to check. so we're not out here reading forever, we have boundaries bestie β¨
π₯ SEE ALSO π₯
all the β¨friends of this functionβ¨, from the 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_rehold_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_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)
like, that's the whole group chat right there β an entire audit-era friend group and audit_string_contains_control is the one who just checks the vibes π
ngl there aren't any OPTIONS, EXIT STATUS, or BUGS sections on this page β that's genuinely the whole thing, don't come for me π
and that's the page!! short, iconic, main character energy π
sign-off time: this little cutie comes from ./kernel, and the date stamp on it is October 2026 β so yeah, it's from the future, we don't ask questions π«ππΈ
π¦ 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