Home
last modified time | relevance | path

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

/linux-6.6.21/security/integrity/ima/
Dima_policy.c573 struct ima_rule_entry *lsm_rule = rule; in ima_match_rules() local
638 if (!lsm_rule->lsm[i].rule) { in ima_match_rules()
639 if (!lsm_rule->lsm[i].args_p) in ima_match_rules()
651 rc = ima_filter_rule_match(osid, lsm_rule->lsm[i].type, in ima_match_rules()
653 lsm_rule->lsm[i].rule); in ima_match_rules()
658 rc = ima_filter_rule_match(secid, lsm_rule->lsm[i].type, in ima_match_rules()
660 lsm_rule->lsm[i].rule); in ima_match_rules()
667 lsm_rule = ima_lsm_copy_rule(rule); in ima_match_rules()
668 if (lsm_rule) { in ima_match_rules()
683 ima_filter_rule_free(lsm_rule->lsm[i].rule); in ima_match_rules()
[all …]
/linux-6.6.21/kernel/
Dauditfilter.c79 security_audit_rule_free(f->lsm_rule); in audit_free_lsm_field()
532 (void **)&f->lsm_rule); in audit_data_to_entry()
802 (void **)&df->lsm_rule); in audit_dupe_lsm_field()
1371 if (f->lsm_rule) { in audit_filter()
1374 f->type, f->op, f->lsm_rule); in audit_filter()
Dauditsc.c670 if (f->lsm_rule) { in audit_filter_rules()
686 f->lsm_rule); in audit_filter_rules()
696 if (f->lsm_rule) { in audit_filter_rules()
703 f->lsm_rule); in audit_filter_rules()
710 f->lsm_rule)) { in audit_filter_rules()
721 f->lsm_rule)) in audit_filter_rules()
/linux-6.6.21/include/linux/
Daudit.h71 void *lsm_rule; member