Home
last modified time | relevance | path

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

/security/integrity/ima/
Dima_policy.c67 bool (*uid_op)(kuid_t, kuid_t); /* Handlers for operators */ member
110 .uid = GLOBAL_ROOT_UID, .uid_op = &uid_eq,
122 .uid = GLOBAL_ROOT_UID, .uid_op = &uid_eq,
125 .uid = GLOBAL_ROOT_UID, .uid_op = &uid_eq,
271 if ((rule->flags & IMA_UID) && !rule->uid_op(cred->uid, rule->uid)) in ima_match_rules()
275 if (!rule->uid_op(cred->euid, rule->uid) in ima_match_rules()
276 && !rule->uid_op(cred->suid, rule->uid) in ima_match_rules()
277 && !rule->uid_op(cred->uid, rule->uid)) in ima_match_rules()
279 } else if (!rule->uid_op(cred->euid, rule->uid)) in ima_match_rules()
620 entry->uid_op = &uid_eq; in ima_parse_rule()
[all …]