Home
last modified time | relevance | path

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

/Linux-v5.4/security/integrity/ima/
Dima_policy.c73 bool (*uid_op)(kuid_t, kuid_t); /* Handlers for operators */ member
120 .uid = GLOBAL_ROOT_UID, .uid_op = &uid_eq,
132 .uid = GLOBAL_ROOT_UID, .uid_op = &uid_eq,
135 .uid = GLOBAL_ROOT_UID, .uid_op = &uid_eq,
399 if ((rule->flags & IMA_UID) && !rule->uid_op(cred->uid, rule->uid)) in ima_match_rules()
403 if (!rule->uid_op(cred->euid, rule->uid) in ima_match_rules()
404 && !rule->uid_op(cred->suid, rule->uid) in ima_match_rules()
405 && !rule->uid_op(cred->uid, rule->uid)) in ima_match_rules()
407 } else if (!rule->uid_op(cred->euid, rule->uid)) in ima_match_rules()
897 entry->uid_op = &uid_eq; in ima_parse_rule()
[all …]