Searched refs:nentry (Results 1 – 2 of 2) sorted by relevance
/security/integrity/ima/ |
D | ima_policy.c | 375 struct ima_rule_entry *nentry; in ima_lsm_copy_rule() local 382 nentry = kmemdup(entry, sizeof(*nentry), GFP_KERNEL); in ima_lsm_copy_rule() 383 if (!nentry) in ima_lsm_copy_rule() 386 memset(nentry->lsm, 0, sizeof_field(struct ima_rule_entry, lsm)); in ima_lsm_copy_rule() 392 nentry->lsm[i].type = entry->lsm[i].type; in ima_lsm_copy_rule() 393 nentry->lsm[i].args_p = entry->lsm[i].args_p; in ima_lsm_copy_rule() 395 ima_filter_rule_init(nentry->lsm[i].type, Audit_equal, in ima_lsm_copy_rule() 396 nentry->lsm[i].args_p, in ima_lsm_copy_rule() 397 &nentry->lsm[i].rule); in ima_lsm_copy_rule() 398 if (!nentry->lsm[i].rule) in ima_lsm_copy_rule() [all …]
|
/security/selinux/ss/ |
D | services.c | 729 struct sidtab_entry *nentry, in security_validtrans_handle_fail() argument 740 if (sidtab_entry_to_string(p, sidtab, nentry, &n, &nlen)) in security_validtrans_handle_fail() 766 struct sidtab_entry *nentry; in security_compute_validatetrans() local 802 nentry = sidtab_search_entry(sidtab, newsid); in security_compute_validatetrans() 803 if (!nentry) { in security_compute_validatetrans() 821 &nentry->context, &tentry->context, in security_compute_validatetrans() 829 nentry, in security_compute_validatetrans()
|