Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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
71 return __kuid_val(left) == __kuid_val(right); in uid_eq()
81 return __kuid_val(left) > __kuid_val(right); in uid_gt()
91 return __kuid_val(left) >= __kuid_val(right); in uid_gte()
101 return __kuid_val(left) < __kuid_val(right); in uid_lt()
111 return __kuid_val(left) <= __kuid_val(right); in uid_lte()
121 return __kuid_val(uid) != (uid_t) -1; in uid_valid()
163 return __kuid_val(kuid); in from_kuid()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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.c409 return map_id_up(&targ->uid_map, __kuid_val(kuid)); in from_kuid()
/kernel/linux/linux-5.10/security/integrity/ima/
Dima_policy.c1733 snprintf(tbuf, sizeof(tbuf), "%d", __kuid_val(entry->uid)); in ima_policy_show()
1744 snprintf(tbuf, sizeof(tbuf), "%d", __kuid_val(entry->uid)); in ima_policy_show()
1755 snprintf(tbuf, sizeof(tbuf), "%d", __kuid_val(entry->fowner)); in ima_policy_show()
/kernel/linux/linux-5.10/fs/crypto/
Dkeyring.c180 mk_identifier, __kuid_val(current_fsuid())); in format_mk_user_description()