Home
last modified time | relevance | path

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

/security/integrity/ima/
Dima_policy.c567 substring_t *args, int lsm_rule, int audit_type) in ima_lsm_rule_init() argument
571 if (entry->lsm[lsm_rule].rule) in ima_lsm_rule_init()
574 entry->lsm[lsm_rule].args_p = match_strdup(args); in ima_lsm_rule_init()
575 if (!entry->lsm[lsm_rule].args_p) in ima_lsm_rule_init()
578 entry->lsm[lsm_rule].type = audit_type; in ima_lsm_rule_init()
579 result = security_filter_rule_init(entry->lsm[lsm_rule].type, in ima_lsm_rule_init()
581 entry->lsm[lsm_rule].args_p, in ima_lsm_rule_init()
582 &entry->lsm[lsm_rule].rule); in ima_lsm_rule_init()
583 if (!entry->lsm[lsm_rule].rule) { in ima_lsm_rule_init()
584 kfree(entry->lsm[lsm_rule].args_p); in ima_lsm_rule_init()