netlbl_domhsh_audit_add(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– netlbl_domhsh_audit_add β€” a Kernel API Manual moment πŸ’–

okay so bestie, we're in netlbl_domhsh_audit_add(9) territory and honestly? it's giving "quiet little helper that keeps the receipts" ✨ picture the auditor of the NetLabel domain hash table, just scribbling down what happened so nothing gets lost. lowkey iconic of it.


✨ NAME ✨

netlbl_domhsh_audit_add β€” generate an audit entry for an add event πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

void netlbl_domhsh_audit_add (struct netlbl_dom_map *entry , struct
netlbl_af4list *addr4 , struct netlbl_af6list *addr6 , int result ,
struct netlbl_audit *audit_info );

like, yes, it's a void function, it doesn't return anything, it just does the thing. main character behavior fr fr πŸ’…


🌸 ARGUMENTS 🌸

  • entry β€” the entry being added πŸ‘‘ this is the one getting its moment in the audit record
  • addr4 β€” the IPv4 address information πŸ“
  • addr6 β€” the IPv6 address information πŸ¦‹
  • result β€” the result code, so the record knows how it went 😭
  • audit_info β€” the NetLabel audit information πŸŽ€

πŸ’œ DESCRIPTION πŸ’œ

So what does it actually do? It generates an audit record for adding a new NetLabel/LSM mapping entry, using all the info you handed it πŸ’– that's the whole vibe.

⚠️ important caveat bestie, do NOT skip this one: the caller is responsible for holding the necessary locks. the function is not out here grabbing locks for you, that's on you, no cap πŸ”’

🌈 SEE ALSO 🌈

Kernel file ./net/netlabel/netlabel_domainhash.c β€” the source, the homeland, the origin story 🫢

and the whole friend group:


and that's the page, bestie!! πŸŽ€ this lil gem lives at ./net/netlabel, stamped October 2026 β€” go forth and audit responsibly, mwah πŸ’‹πŸ’œ

πŸ“¦ where this page comes from