smk_netlabel_audit_set(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… smk_netlabel_audit_set β€” like, the netlbl_audit struct filler upper ✨

okay so bestie, this is a page from the Kernel API Manual (section 9, the kernel-functions girlies) and it's genuinely so simple it's iconic. no cap.


🌸 NAME 🌸

smk_netlabel_audit_set β€” fill a netlbl_audit struct 🫢

that's it. that's the whole job. she fills the struct. main character energy fr fr.


✨ SYNOPSIS ✨

void smk_netlabel_audit_set (struct netlbl_audit *nap );

literally just one function, returns nothing (void), takes one pointer. no drama, no return value, no surprises. we love a low-stakes queen πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • nap β€” the structure to fill πŸ’– like, you hand her the struct netlbl_audit * and she does the filling. that's the vibe check and she passes it.
ngl there is exactly one (1) argument here and it is this one. do not come for her, she's doing her best and her best is filling a struct.

πŸ¦‹ SEE ALSO πŸ¦‹

okay so THIS is where it gets unhinged 😭 β€” the SEE ALSO list is giving "she knows everyone at the party". all of these live in the kernel file ./security/smack/smackfs.c:

like, 56 icons in one friend group πŸ”₯ she really said "I have a whole squad" and honestly? slay.


πŸ’€ friendly reminder bestie: this page lives at ./security/smack β€” that's the source, iykyk, that's where the Smack security module does its thing.

and that's the whole page, gorgeous. no bugs, no warnings, no exit statuses, no environment variables β€” just a tiny tidy function doing her little job 🧚

β€” that's a wrap, bestie πŸ’œ β€”

smk_netlabel_audit_set(9) Β· Kernel API Manual Β· ./security/smack Β· October 2026 πŸŽ€βœ¨

πŸ“¦ where this page comes from