Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/
Duidgid.h34 static inline uid_t __kuid_val(kuid_t uid) in __kuid_val() function
44 static inline uid_t __kuid_val(kuid_t uid) in __kuid_val() function
63 return __kuid_val(left) == __kuid_val(right); in uid_eq()
73 return __kuid_val(left) > __kuid_val(right); in uid_gt()
83 return __kuid_val(left) >= __kuid_val(right); in uid_gte()
93 return __kuid_val(left) < __kuid_val(right); in uid_lt()
103 return __kuid_val(left) <= __kuid_val(right); in uid_lte()
113 return __kuid_val(uid) != (uid_t) -1; in uid_valid()
155 return __kuid_val(kuid); in from_kuid()
/Linux-v5.10/security/safesetid/
Dlsm.c39 hash_for_each_possible(policy->rules, rule, next, __kuid_val(src.uid)) { in _setid_policy_lookup()
126 __kuid_val(cred->uid)); in safesetid_security_capable()
141 __kuid_val(cred->uid)); in safesetid_security_capable()
182 __kuid_val(old->uid), __kuid_val(old->euid), in id_permitted_for_cred()
183 __kuid_val(old->suid), __kuid_val(new_id.uid)); in id_permitted_for_cred()
Dsecurityfs.c91 hash_add(pol->rules, &rule->next, __kuid_val(rule->src_id.uid)); in insert_rule()
108 __kuid_val(rule->src_id.uid), in verify_ruleset()
109 __kuid_val(rule->dst_id.uid)); in verify_ruleset()
/Linux-v5.10/kernel/
Duser.c82 #define uidhashentry(uid) (uidhash_table + __uidhashfn((__kuid_val(uid))))
Ducount.c16 hash_long((unsigned long)__kuid_val(uid) + (unsigned long)(ns), \
Duser_namespace.c408 return map_id_up(&targ->uid_map, __kuid_val(kuid)); in from_kuid()
/Linux-v5.10/security/integrity/ima/
Dima_policy.c1703 snprintf(tbuf, sizeof(tbuf), "%d", __kuid_val(entry->uid)); in ima_policy_show()
1714 snprintf(tbuf, sizeof(tbuf), "%d", __kuid_val(entry->uid)); in ima_policy_show()
1725 snprintf(tbuf, sizeof(tbuf), "%d", __kuid_val(entry->fowner)); in ima_policy_show()
/Linux-v5.10/fs/crypto/
Dkeyring.c196 mk_identifier, __kuid_val(current_fsuid())); in format_mk_user_description()