Home
last modified time | relevance | path

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

/Linux-v6.1/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.h98 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-v6.1/security/safesetid/
Dlsm.c47 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()
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.1/security/integrity/ima/
Dima_policy.c2131 snprintf(tbuf, sizeof(tbuf), "%d", __kgid_val(entry->gid)); in ima_policy_show()
2142 snprintf(tbuf, sizeof(tbuf), "%d", __kgid_val(entry->gid)); in ima_policy_show()
2164 snprintf(tbuf, sizeof(tbuf), "%d", __kgid_val(entry->fgroup)); in ima_policy_show()
/Linux-v6.1/kernel/
Duser_namespace.c498 return map_id_up(&targ->gid_map, __kgid_val(kgid)); in from_kgid()