Lines Matching refs:uid_op
73 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()
1065 entry->uid_op = &uid_gt; in ima_parse_rule()
1070 entry->uid_op = &uid_lt; in ima_parse_rule()
1079 args[0].from, entry->uid_op); in ima_parse_rule()
1434 if (entry->uid_op == &uid_gt) in ima_policy_show()
1436 else if (entry->uid_op == &uid_lt) in ima_policy_show()
1445 if (entry->uid_op == &uid_gt) in ima_policy_show()
1447 else if (entry->uid_op == &uid_lt) in ima_policy_show()