Searched refs:__kgid_val (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/include/linux/ |
D | uidgid.h | 39 static inline gid_t __kgid_val(kgid_t gid) in __kgid_val() function 49 static inline gid_t __kgid_val(kgid_t gid) in __kgid_val() function 68 return __kgid_val(left) == __kgid_val(right); in gid_eq() 78 return __kgid_val(left) > __kgid_val(right); in gid_gt() 88 return __kgid_val(left) >= __kgid_val(right); in gid_gte() 98 return __kgid_val(left) < __kgid_val(right); in gid_lt() 108 return __kgid_val(left) <= __kgid_val(right); in gid_lte() 118 return __kgid_val(gid) != (gid_t) -1; in gid_valid() 160 return __kgid_val(kgid); in from_kgid()
|
D | mnt_idmapping.h | 98 return vfsgid_valid(vfsgid) && __vfsgid_val(vfsgid) == __kgid_val(kgid); in vfsgid_eq_kgid() 106 #define VFSGIDT_INIT(val) (vfsgid_t){ __kgid_val(val) } 248 gid = __kgid_val(kgid); in make_vfsgid()
|
/linux-6.1.9/security/safesetid/ |
D | lsm.c | 47 hash_for_each_possible(policy->rules, rule, next, __kgid_val(src.gid)) { in _setid_policy_lookup() 177 __kgid_val(old->gid), __kgid_val(old->egid), in id_permitted_for_cred() 178 __kgid_val(old->sgid), __kgid_val(new_id.gid)); in id_permitted_for_cred()
|
D | securityfs.c | 93 hash_add(pol->rules, &rule->next, __kgid_val(rule->src_id.gid)); in insert_rule() 112 __kgid_val(rule->src_id.gid), in verify_ruleset() 113 __kgid_val(rule->dst_id.gid)); in verify_ruleset()
|
/linux-6.1.9/security/integrity/ima/ |
D | ima_policy.c | 2150 snprintf(tbuf, sizeof(tbuf), "%d", __kgid_val(entry->gid)); in ima_policy_show() 2161 snprintf(tbuf, sizeof(tbuf), "%d", __kgid_val(entry->gid)); in ima_policy_show() 2183 snprintf(tbuf, sizeof(tbuf), "%d", __kgid_val(entry->fgroup)); in ima_policy_show()
|
/linux-6.1.9/kernel/ |
D | user_namespace.c | 498 return map_id_up(&targ->gid_map, __kgid_val(kgid)); in from_kgid()
|