ipe_audit_match(9)
π ipe_audit_match(9) β like, the Kernel API Manual girlies finally get their audit moment
okay so first things first, bestie β welcome to ipe_audit_match(9) from the Kernel API Manual. yes that's the whole vibe. she's a kernel function, she's in section 9, and she is literally here to log what the policy evaluation decided. no cap. π
β¨ NAME β¨
ipe_audit_match β Audit a rule match in a policy evaluation. that's it. that's her job. she audits a match. slay. π
πΈ SYNOPSIS πΈ
void ipe_audit_match (const struct ipe_eval_ctx *const ctx , enum
ipe_match match_type , enum ipe_action_type act , const struct ipe_rule
*const r );
return type is void, meaning she gives you nothing back and honestly? main character energy. she does the work and dips. π¦
π ARGUMENTS π
four args, all of them required, all of them iconic in their own way:
ctxβ supplies a pointer to the evaluation context that was used in the evaluation. like, the whole receipts of the eval. hand her the context, she'll take it from there. π«Άmatch_typeβ supplies the scope of the match, and the scope can be:rule,operation default, orglobal default. three flavors, all valid, pick your fighter. βactβ supplies IPE's evaluation decision, and the decision is eitherdenyorallow. that's the whole mood ring right there. π₯rβ supplies a pointer to the rule that was matched, if possible. note the "if possible" bestie, it's doing so much heavy lifting β sometimes there's just no rule to point at and that's valid. π
fr fr, don't sleep on that if possible β it's the one little caveat tucked into the whole signature, so treat it with the respect it deserves. π
π SEE ALSO π
the friend group!! go say hi to all of them, they're all in the kernel file ./security/ipe/audit.c:
audit_dmv_roothash(9)audit_fsv_digest(9)audit_rule(9)audit_policy(9)ipe_audit_policy_activation(9)ipe_audit_policy_load(9)ipe_audit_enforce(9)
iykyk, it's a whole audit.c cinematic universe and she's proud to be in it. π
and that's the page, bestie!! π this little love letter came out of ./security/ipe and it's dated October 2026 β so yes, she's from the future, and yes, she's still serving. go audit something. 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