Home
last modified time | relevance | path

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

/Linux-v5.10/security/integrity/ima/
Dima_policy.c78 bool (*uid_op)(kuid_t, kuid_t); /* Handlers for operators */ member
126 .uid = GLOBAL_ROOT_UID, .uid_op = &uid_eq,
138 .uid = GLOBAL_ROOT_UID, .uid_op = &uid_eq,
141 .uid = GLOBAL_ROOT_UID, .uid_op = &uid_eq,
469 if ((rule->flags & IMA_UID) && !rule->uid_op(cred->uid, rule->uid)) in ima_match_keyring()
529 if ((rule->flags & IMA_UID) && !rule->uid_op(cred->uid, rule->uid)) in ima_match_rules()
533 if (!rule->uid_op(cred->euid, rule->uid) in ima_match_rules()
534 && !rule->uid_op(cred->suid, rule->uid) in ima_match_rules()
535 && !rule->uid_op(cred->uid, rule->uid)) in ima_match_rules()
537 } else if (!rule->uid_op(cred->euid, rule->uid)) in ima_match_rules()
[all …]