Home
last modified time | relevance | path

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

/Linux-v5.10/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()
/Linux-v5.10/security/safesetid/
Dlsm.c47 hash_for_each_possible(policy->rules, rule, next, __kgid_val(src.gid)) { in _setid_policy_lookup()
186 __kgid_val(old->gid), __kgid_val(old->egid), in id_permitted_for_cred()
187 __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-v5.10/kernel/
Duser_namespace.c476 return map_id_up(&targ->gid_map, __kgid_val(kgid)); in from_kgid()