Home
last modified time | relevance | path

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

/Linux-v6.6/include/linux/
Duidgid.h39 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()
Dmnt_idmapping.h96 return vfsgid_valid(vfsgid) && __vfsgid_val(vfsgid) == __kgid_val(kgid); in vfsgid_eq_kgid()
104 #define VFSGIDT_INIT(val) (vfsgid_t){ __kgid_val(val) }
/Linux-v6.6/security/safesetid/
Dlsm.c47 hash_for_each_possible(policy->rules, rule, next, __kgid_val(src.gid)) { in _setid_policy_lookup()
134 __kgid_val(cred->gid)); in safesetid_security_capable()
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()
Dsecurityfs.c93 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-v6.6/fs/
Dmnt_idmapping.c144 gid = __kgid_val(kgid); in make_vfsgid()
/Linux-v6.6/security/integrity/ima/
Dima_policy.c85 return __vfsgid_val(vfsgid) > __kgid_val(kgid); in vfsgid_gt_kgid()
95 return __vfsgid_val(vfsgid) < __kgid_val(kgid); in vfsgid_lt_kgid()
2177 snprintf(tbuf, sizeof(tbuf), "%d", __kgid_val(entry->gid)); in ima_policy_show()
2188 snprintf(tbuf, sizeof(tbuf), "%d", __kgid_val(entry->gid)); in ima_policy_show()
2210 snprintf(tbuf, sizeof(tbuf), "%d", __kgid_val(entry->fgroup)); in ima_policy_show()
/Linux-v6.6/kernel/
Duser_namespace.c498 return map_id_up(&targ->gid_map, __kgid_val(kgid)); in from_kgid()