| /linux/security/safesetid/ |
| H A D | lsm.c | 49 if (!gid_eq(rule->src_id.gid, src.gid)) in _setid_policy_lookup() 51 if (gid_eq(rule->dst_id.gid, dst.gid)){ in _setid_policy_lookup() 158 if (gid_eq(new_id.gid, old->gid) || gid_eq(new_id.gid, old->egid) || in id_permitted_for_cred() 159 gid_eq(new_id.gid, old->sgid)) in id_permitted_for_cred()
|
| /linux/fs/nfsd/ |
| H A D | auth.c | 50 if (gid_eq(new->fsgid, GLOBAL_ROOT_GID)) in nfsd_setuser() 58 if (gid_eq(GLOBAL_ROOT_GID, rqgi->gid[i])) in nfsd_setuser() 72 if (gid_eq(new->fsgid, INVALID_GID)) in nfsd_setuser()
|
| H A D | filecache.c | 93 if (!gid_eq(c1->fsgid, c2->fsgid)) in nfsd_match_cred() 100 if (!gid_eq(c1->group_info->gid[i], c2->group_info->gid[i])) in nfsd_match_cred()
|
| /linux/kernel/ |
| H A D | groups.c | 232 if (!gid_eq(grp, cred->fsgid)) in in_group_p() 244 if (!gid_eq(grp, cred->egid)) in in_egroup_p()
|
| H A D | ptrace.c | 348 gid_eq(caller_gid, tcred->egid) && in __ptrace_may_access() 349 gid_eq(caller_gid, tcred->sgid) && in __ptrace_may_access() 350 gid_eq(caller_gid, tcred->gid)) in __ptrace_may_access()
|
| H A D | auditfilter.c | 801 if (!gid_eq(a->fields[i].gid, b->fields[i].gid)) in audit_dupe_lsm_field() 1252 return gid_eq(left, right); in audit_gid_comparator() 1254 return !gid_eq(left, right); in audit_gid_comparator()
|
| /linux/net/sunrpc/ |
| H A D | auth_unix.c | 88 …if (!uid_eq(cred->cr_cred->fsuid, acred->cred->fsuid) || !gid_eq(cred->cr_cred->fsgid, acred->cred… in unx_match() 101 if (!gid_eq(cred->cr_cred->group_info->gid[i], acred->cred->group_info->gid[i])) in unx_match()
|
| /linux/security/keys/ |
| H A D | permission.c | 62 if (gid_eq(key->gid, cred->fsgid)) { in key_task_permission()
|
| H A D | keyctl.c | 993 if (group != (gid_t) -1 && !gid_eq(gid, key->gid) && !in_group_p(gid)) in keyctl_chown_key() 1697 !gid_eq(pcred->gid, mycred->egid) || in keyctl_session_to_parent() 1698 !gid_eq(pcred->egid, mycred->egid) || in keyctl_session_to_parent() 1699 !gid_eq(pcred->sgid, mycred->egid)) in keyctl_session_to_parent()
|
| /linux/fs/quota/ |
| H A D | kqid.c | 21 return gid_eq(left.gid, right.gid); in qid_eq()
|
| H A D | quota_v1.c | 90 ((type == GRPQUOTA) && gid_eq(dquot->dq_id.gid, GLOBAL_ROOT_GID))) { in v1_commit_dqblk()
|
| /linux/net/core/ |
| H A D | scm.c | 62 ((gid_eq(gid, cred->gid) || gid_eq(gid, cred->egid) || in scm_check_creds() 63 gid_eq(gid, cred->sgid)) || ns_capable(cred->user_ns, CAP_SETGID))) { in scm_check_creds()
|
| /linux/fs/jfs/ |
| H A D | file.c | 108 (iattr->ia_valid & ATTR_GID && !gid_eq(iattr->ia_gid, inode->i_gid))) { in jfs_setattr()
|
| /linux/fs/orangefs/ |
| H A D | inode.c | 148 if (!uid_eq(ow->uid, wr->uid) || !gid_eq(ow->gid, wr->gid)) { in orangefs_writepages_callback() 337 gid_eq(wr->gid, current_fsgid())) { in orangefs_write_begin() 654 gid_eq(wr->gid, current_fsgid())) { in orangefs_page_mkwrite() 795 gid_eq(ORANGEFS_I(inode)->attr_gid, current_fsgid())) { in __orangefs_setattr()
|
| /linux/include/linux/ |
| H A D | uidgid.h | 58 static inline bool gid_eq(kgid_t left, kgid_t right) in gid_eq() function
|
| /linux/fs/udf/ |
| H A D | file.c | 232 !gid_eq(attr->ia_gid, UDF_SB(sb)->s_gid)) in udf_setattr()
|
| /linux/fs/adfs/ |
| H A D | inode.c | 316 (ia_valid & ATTR_GID && !gid_eq(attr->ia_gid, ADFS_SB(sb)->s_gid))) in adfs_setattr()
|
| H A D | super.c | 104 if (!gid_eq(asb->s_gid, GLOBAL_ROOT_GID)) in adfs_show_options()
|
| /linux/fs/hpfs/ |
| H A D | namei.c | 107 !gid_eq(result->i_gid, current_fsgid()) || in hpfs_mkdir() 196 !gid_eq(result->i_gid, current_fsgid()) || in hpfs_create()
|
| H A D | inode.c | 160 if (!gid_eq(i->i_gid, hpfs_sb(i->i_sb)->sb_gid) || hpfs_inode->i_ea_gid) { in hpfs_write_inode_ea()
|
| /linux/fs/autofs/ |
| H A D | inode.c | 79 if (!gid_eq(root_inode->i_gid, GLOBAL_ROOT_GID)) in autofs_show_options()
|
| /linux/fs/ubifs/ |
| H A D | budget.c | 260 (!gid_eq(c->rp_gid, GLOBAL_ROOT_GID) && in_group_p(c->rp_gid))) in can_use_rp()
|
| /linux/fs/xfs/scrub/ |
| H A D | orphanage.c | 87 if (!gid_eq(inode->i_gid, GLOBAL_ROOT_GID)) { in xrep_chown_orphanage()
|
| /linux/init/ |
| H A D | initramfs_test.c | 131 KUNIT_EXPECT_TRUE(test, gid_eq(st.gid, KGIDT_INIT(c[0].gid))); in initramfs_test_extract()
|
| /linux/fs/fat/ |
| H A D | file.c | 561 (!gid_eq(from_vfsgid(idmap, i_user_ns(inode), attr->ia_vfsgid), in fat_setattr()
|