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,
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()
1420 entry->uid_op = &uid_eq; in ima_parse_rule()
1634 entry->uid_op = &uid_gt; in ima_parse_rule()
1639 entry->uid_op = &uid_lt; in ima_parse_rule()
2156 if (entry->uid_op == &uid_gt) in ima_policy_show()
2158 else if (entry->uid_op == &uid_lt) in ima_policy_show()
2167 if (entry->uid_op == &uid_gt) in ima_policy_show()
2169 else if (entry->uid_op == &uid_lt) in ima_policy_show()