Home
last modified time | relevance | path

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

/Linux-v6.1/security/integrity/ima/
Dima_policy.c1082 substring_t *args, int lsm_rule, int audit_type) in ima_lsm_rule_init() argument
1086 if (entry->lsm[lsm_rule].rule) in ima_lsm_rule_init()
1089 entry->lsm[lsm_rule].args_p = match_strdup(args); in ima_lsm_rule_init()
1090 if (!entry->lsm[lsm_rule].args_p) in ima_lsm_rule_init()
1093 entry->lsm[lsm_rule].type = audit_type; in ima_lsm_rule_init()
1094 result = ima_filter_rule_init(entry->lsm[lsm_rule].type, Audit_equal, in ima_lsm_rule_init()
1095 entry->lsm[lsm_rule].args_p, in ima_lsm_rule_init()
1096 &entry->lsm[lsm_rule].rule); in ima_lsm_rule_init()
1097 if (!entry->lsm[lsm_rule].rule) { in ima_lsm_rule_init()
1099 entry->lsm[lsm_rule].args_p); in ima_lsm_rule_init()
[all …]
/Linux-v6.1/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()
801 (void **)&df->lsm_rule); in audit_dupe_lsm_field()
1370 if (f->lsm_rule) { in audit_filter()
1373 f->type, f->op, f->lsm_rule); in audit_filter()
Dauditsc.c667 if (f->lsm_rule) { in audit_filter_rules()
683 f->lsm_rule); in audit_filter_rules()
693 if (f->lsm_rule) { in audit_filter_rules()
700 f->lsm_rule); in audit_filter_rules()
707 f->lsm_rule)) { in audit_filter_rules()
718 f->lsm_rule)) in audit_filter_rules()
/Linux-v6.1/include/linux/
Daudit.h70 void *lsm_rule; member