Home
last modified time | relevance | path

Searched refs:lsm_rule (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/security/integrity/ima/
Dima_policy.c503 struct ima_rule_entry *lsm_rule = rule; in ima_match_rules() local
547 if (!lsm_rule->lsm[i].rule) { in ima_match_rules()
548 if (!lsm_rule->lsm[i].args_p) in ima_match_rules()
560 rc = ima_filter_rule_match(osid, lsm_rule->lsm[i].type, in ima_match_rules()
562 lsm_rule->lsm[i].rule); in ima_match_rules()
567 rc = ima_filter_rule_match(secid, lsm_rule->lsm[i].type, in ima_match_rules()
569 lsm_rule->lsm[i].rule); in ima_match_rules()
576 lsm_rule = ima_lsm_copy_rule(rule); in ima_match_rules()
577 if (lsm_rule) { in ima_match_rules()
592 ima_filter_rule_free(lsm_rule->lsm[i].rule); in ima_match_rules()
[all …]
/kernel/linux/linux-5.10/kernel/
Dauditfilter.c77 security_audit_rule_free(f->lsm_rule); in audit_free_lsm_field()
524 (void **)&f->lsm_rule); in audit_data_to_entry()
793 (void **)&df->lsm_rule); in audit_dupe_lsm_field()
1361 if (f->lsm_rule) { in audit_filter()
1364 f->type, f->op, f->lsm_rule); in audit_filter()
Dauditsc.c670 if (f->lsm_rule) { in audit_filter_rules()
677 f->lsm_rule); in audit_filter_rules()
687 if (f->lsm_rule) { in audit_filter_rules()
694 f->lsm_rule); in audit_filter_rules()
701 f->lsm_rule)) { in audit_filter_rules()
712 f->lsm_rule)) in audit_filter_rules()
/kernel/linux/linux-5.10/include/linux/
Daudit.h69 void *lsm_rule; member