Searched refs:__kgid_val (Results 1 – 7 of 7) sorted by relevance
/linux/include/linux/ |
H A D | uidgid.h | 31 static inline gid_t __kgid_val(kgid_t gid) in __kgid_val() function 41 static inline gid_t __kgid_val(kgid_t gid) in __kgid_val() function 60 return __kgid_val(left) == __kgid_val(right); in gid_eq() 70 return __kgid_val(left) > __kgid_val(right); in gid_gt() 80 return __kgid_val(left) >= __kgid_val(right); in gid_gte() 90 return __kgid_val(left) < __kgid_val(right); in gid_lt() 100 return __kgid_val(left) <= __kgid_val(right); in gid_lte() 110 return __kgid_val(gid) != (gid_t) -1; in gid_valid() 155 return __kgid_val(kgid); in from_kgid()
|
H A D | mnt_idmapping.h | 97 return vfsgid_valid(vfsgid) && __vfsgid_val(vfsgid) == __kgid_val(kgid); in vfsgid_eq_kgid() 105 #define VFSGIDT_INIT(val) (vfsgid_t){ __kgid_val(val) }
|
/linux/security/safesetid/ |
H A D | lsm.c | 48 hash_for_each_possible(policy->rules, rule, next, __kgid_val(src.gid)) { in _setid_policy_lookup() 135 __kgid_val(cred->gid)); in safesetid_security_capable() 178 __kgid_val(old->gid), __kgid_val(old->egid), in id_permitted_for_cred() 179 __kgid_val(old->sgid), __kgid_val(new_id.gid)); in id_permitted_for_cred()
|
H A 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/fs/ |
H A D | mnt_idmapping.c | 129 gid = __kgid_val(kgid); in make_vfsgid()
|
/linux/security/integrity/ima/ |
H A D | ima_policy.c | 85 return __vfsgid_val(vfsgid) > __kgid_val(kgid); in vfsgid_gt_kgid() 95 return __vfsgid_val(vfsgid) < __kgid_val(kgid); in vfsgid_lt_kgid() 2181 snprintf(tbuf, sizeof(tbuf), "%d", __kgid_val(entry->gid)); in ima_policy_show() 2192 snprintf(tbuf, sizeof(tbuf), "%d", __kgid_val(entry->gid)); in ima_policy_show() 2214 snprintf(tbuf, sizeof(tbuf), "%d", __kgid_val(entry->fgroup)); in ima_policy_show()
|
/linux/kernel/ |
H A D | user_namespace.c | 501 return map_id_up(&targ->gid_map, __kgid_val(kgid)); in from_kgid()
|