Home
last modified time | relevance | path

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

/linux-6.12.1/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,
521 if ((rule->flags & IMA_UID) && !rule->uid_op(cred->uid, rule->uid)) in ima_match_rule_data()
606 if ((rule->flags & IMA_UID) && !rule->uid_op(cred->uid, rule->uid)) in ima_match_rules()
610 if (!rule->uid_op(cred->euid, rule->uid) in ima_match_rules()
611 && !rule->uid_op(cred->suid, rule->uid) in ima_match_rules()
612 && !rule->uid_op(cred->uid, rule->uid)) in ima_match_rules()
614 } else if (!rule->uid_op(cred->euid, rule->uid)) in ima_match_rules()
[all …]