Home
last modified time | relevance | path

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

/Linux-v6.6/security/integrity/ima/
Dima_policy.c110 bool (*uid_op)(kuid_t cred_uid, kuid_t rule_uid); /* Handlers for operators */ member
171 .uid = GLOBAL_ROOT_UID, .uid_op = &uid_eq,
183 .uid = GLOBAL_ROOT_UID, .uid_op = &uid_eq,
186 .uid = GLOBAL_ROOT_UID, .uid_op = &uid_eq,
519 if ((rule->flags & IMA_UID) && !rule->uid_op(cred->uid, rule->uid)) in ima_match_rule_data()
604 if ((rule->flags & IMA_UID) && !rule->uid_op(cred->uid, rule->uid)) in ima_match_rules()
608 if (!rule->uid_op(cred->euid, rule->uid) in ima_match_rules()
609 && !rule->uid_op(cred->suid, rule->uid) in ima_match_rules()
610 && !rule->uid_op(cred->uid, rule->uid)) in ima_match_rules()
612 } else if (!rule->uid_op(cred->euid, rule->uid)) in ima_match_rules()
[all …]