Lines Matching refs:uid_op
110 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()
1423 entry->uid_op = &uid_eq; in ima_parse_rule()
1637 entry->uid_op = &uid_gt; in ima_parse_rule()
1642 entry->uid_op = &uid_lt; in ima_parse_rule()
2159 if (entry->uid_op == &uid_gt) in ima_policy_show()
2161 else if (entry->uid_op == &uid_lt) in ima_policy_show()
2170 if (entry->uid_op == &uid_gt) in ima_policy_show()
2172 else if (entry->uid_op == &uid_lt) in ima_policy_show()