ima_match_rule_data(9)
π ima_match_rule_data(9) β like, the Kernel API Manual page, bestie π
okay so welcome to the glow-up of the ima_match_rule_data page, straight out of the Kernel API Manual β¨ no cap, this one's short but she serves.
πΈ NAME πΈ
ima_match_rule_data β bestie, this is the girlie that determines whether func_data matches the policy rule. that's it, that's the job π
β¨ SYNOPSIS β¨
bool ima_match_rule_data (struct ima_rule_entry *rule , const char *func_data , const struct cred *cred );
she returns a bool, she takes three things, she's lowkey iconic π«Ά
π¦ ARGUMENTS π¦
ruleβ a pointer to a rule. literally just a pointer to astruct ima_rule_entry, the rule in question πfunc_dataβ the data to match against the measure rule data. this is the thing we're vibe-checking against the rule π₯credβ a pointer to a credentials structure for user validation. yes she cares about who you are, main character energy fr π
π§ DESCRIPTION π§
Returns true if func_data matches one in the rule, false otherwise.
that's the whole plot π like, it's giving simple, it's giving clean, it's giving "one job and she does it". no extra lore, no surprise plot twists, just a good old-fashioned match check π
π SEE ALSO π
Kernel file ./security/integrity/ima/ima_policy.c, plus her whole friend group β go say hi to:
ima_match_rules(9)ima_match_policy(9)ima_update_policy_flags(9)ima_init_policy(9)ima_update_policy(9)ima_parse_add_rule(9)ima_delete_rules(9)ima_measure_loaded_policy(9)
iykyk, the IMA policy squad goes hard β
and that's the page, bestie π mwah! this little number lives in ./security/integrity/ima and the version/date stamp on her is October 2026 β so mark your calendar and stan responsibly ππ
πΈ
π¦ 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