netlbl_audit_start(9)
π netlbl_audit_start(9) π
okay so this is a page from the Kernel API Manual, and the star of the show is netlbl_audit_start β bestie, we're starting an audit message. let's get into it β¨
πΈ NAME πΈ
netlbl_audit_start β start an audit message π
π¦ SYNOPSIS π¦
struct audit_buffer * netlbl_audit_start (int type , struct netlbl_audit
*audit_info );
like yes, that's the whole signature, she's not complicated π
π ARGUMENTS π
typeβ the audit message type, fr fr. that's what kind of message you're making π«Άaudit_infoβ the NetLabel audit information. this is your data bag, no cap π
π DESCRIPTION π
so what does she do? she starts an audit message using the type you handed her in type, and then she fills that audit message up with some fields that are common to all NetLabel audit messages. iconic behavior honestly β¨
π¨ okay important caveat, bestie: this function should only be used by protocol engines β not LSMs. like, that's the rule. respect the rule π
and the return vibe? she returns a pointer to the audit buffer on success π, and NULL on failure π. that's it, that's the tea β
π SEE ALSO π
so the kernel file lives at ./net/netlabel/netlabel_kapi.c, and here's the whole friend group β go say hi π
:
netlbl_cfg_map_del(9)netlbl_cfg_unlbl_map_add(9)netlbl_cfg_unlbl_static_add(9)netlbl_cfg_unlbl_static_del(9)netlbl_cfg_cipsov4_add(9)netlbl_cfg_cipsov4_del(9)netlbl_cfg_cipsov4_map_add(9)netlbl_cfg_calipso_add(9)netlbl_cfg_calipso_del(9)netlbl_cfg_calipso_map_add(9)_netlbl_catmap_getnode(9)netlbl_catmap_walk(9)netlbl_catmap_walkrng(9)netlbl_catmap_getlong(9)netlbl_catmap_setbit(9)netlbl_catmap_setrng(9)netlbl_catmap_setlong(9)netlbl_bitmap_walk(9)netlbl_bitmap_setbit(9)netlbl_enabled(9)netlbl_sock_setattr(9)netlbl_sock_delattr(9)netlbl_sock_getattr(9)netlbl_sk_lock_check(9)netlbl_conn_setattr(9)netlbl_req_setattr(9)netlbl_req_delattr(9)netlbl_skbuff_setattr(9)netlbl_skbuff_getattr(9)netlbl_skbuff_err(9)netlbl_cache_invalidate(9)netlbl_cache_add(9)netlbl_init(9)
and that's the whole page, bestie!! π§ this one came from ./net/netlabel, dated October 2026 β mwah, study it, love it, cite it correctly, periodt π
ππΈ
π¦ 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