Searched refs:__kuid_val (Results 1 – 10 of 10) sorted by relevance
/linux-6.6.21/include/linux/ |
D | uidgid.h | 34 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()
|
D | mnt_idmapping.h | 81 return vfsuid_valid(vfsuid) && __vfsuid_val(vfsuid) == __kuid_val(kuid); in vfsuid_eq_kuid() 103 #define VFSUIDT_INIT(val) (vfsuid_t){ __kuid_val(val) }
|
/linux-6.6.21/security/safesetid/ |
D | lsm.c | 39 hash_for_each_possible(policy->rules, rule, next, __kuid_val(src.uid)) { in _setid_policy_lookup() 120 __kuid_val(cred->uid)); in safesetid_security_capable() 173 __kuid_val(old->uid), __kuid_val(old->euid), in id_permitted_for_cred() 174 __kuid_val(old->suid), __kuid_val(new_id.uid)); in id_permitted_for_cred()
|
D | securityfs.c | 91 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-6.6.21/fs/ |
D | mnt_idmapping.c | 106 uid = __kuid_val(kuid); in make_vfsuid()
|
/linux-6.6.21/kernel/ |
D | user.c | 82 #define uidhashentry(uid) (uidhash_table + __uidhashfn((__kuid_val(uid))))
|
D | ucount.c | 22 hash_long((unsigned long)__kuid_val(uid) + (unsigned long)(ns), \
|
D | user_namespace.c | 430 return map_id_up(&targ->uid_map, __kuid_val(kuid)); in from_kuid()
|
/linux-6.6.21/security/integrity/ima/ |
D | ima_policy.c | 80 return __vfsuid_val(vfsuid) > __kuid_val(kuid); in vfsuid_gt_kuid() 90 return __vfsuid_val(vfsuid) < __kuid_val(kuid); in vfsuid_lt_kuid() 2155 snprintf(tbuf, sizeof(tbuf), "%d", __kuid_val(entry->uid)); in ima_policy_show() 2166 snprintf(tbuf, sizeof(tbuf), "%d", __kuid_val(entry->uid)); in ima_policy_show() 2199 snprintf(tbuf, sizeof(tbuf), "%d", __kuid_val(entry->fowner)); in ima_policy_show()
|
/linux-6.6.21/fs/crypto/ |
D | keyring.c | 184 mk_identifier, __kuid_val(current_fsuid())); in format_mk_user_description()
|