Searched refs:in_group_p (Results 1 - 24 of 24) sorted by relevance

/linux-4.4.14/kernel/
H A Dgroups.c255 int in_group_p(kgid_t grp) in_group_p() function
265 EXPORT_SYMBOL(in_group_p); variable
H A Dauditsc.c488 result = in_group_p(f->gid); audit_filter_rules()
491 result = !in_group_p(f->gid); audit_filter_rules()
/linux-4.4.14/fs/
H A Dattr.c59 (!in_group_p(attr->ia_gid) && !gid_eq(attr->ia_gid, inode->i_gid))) && inode_change_ok()
68 if (!in_group_p((ia_valid & ATTR_GID) ? attr->ia_gid : inode_change_ok()
162 if (!in_group_p(inode->i_gid) && setattr_copy()
H A Dposix_acl.c331 if (in_group_p(inode->i_gid)) { FOREACH_ACL_ENTRY()
338 if (in_group_p(pa->e_gid)) { FOREACH_ACL_ENTRY()
H A Dnamei.c302 if (in_group_p(inode->i_gid)) acl_permission_check()
/linux-4.4.14/include/linux/
H A Dcred.h70 extern int in_group_p(kgid_t);
77 static inline int in_group_p(kgid_t grp) in_group_p() function
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
H A Dobdo.c164 if (!in_group_p(make_kgid(&init_user_ns, oa->o_gid)) && iattr_from_obdo()
/linux-4.4.14/fs/configfs/
H A Dinode.c103 if (!in_group_p(inode->i_gid) && !capable(CAP_FSETID)) configfs_setattr()
/linux-4.4.14/fs/fat/
H A Dfile.c364 if (in_group_p(inode->i_gid)) fat_allow_set_time()
/linux-4.4.14/drivers/staging/lustre/lustre/mdc/
H A Dmdc_lib.c288 in_group_p(op_data->op_attr.ia_gid)) mdc_setattr_pack_rec()
/linux-4.4.14/ipc/
H A Dutil.c495 else if (in_group_p(ipcp->cgid) || in_group_p(ipcp->gid)) ipcperms()
/linux-4.4.14/fs/cifs/
H A Dmisc.c606 if (in_group_p(cifs_sb->mnt_backupgid)) backup_cred()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
H A Dnamei.c281 if (in_group_p(i->i_gid)) ll_i2suppgid()
/linux-4.4.14/fs/hugetlbfs/
H A Dinode.c1215 return capable(CAP_IPC_LOCK) || in_group_p(shm_group); can_do_hugetlb_shm()
/linux-4.4.14/fs/ext4/
H A Dballoc.c565 (!gid_eq(sbi->s_resgid, GLOBAL_ROOT_GID) && in_group_p(sbi->s_resgid)) || ext4_has_free_clusters()
/linux-4.4.14/fs/ubifs/
H A Dbudget.c276 (!gid_eq(c->rp_gid, GLOBAL_ROOT_GID) && in_group_p(c->rp_gid))) can_use_rp()
H A Dfile.c1088 if (!in_group_p(inode->i_gid) && !capable(CAP_FSETID)) do_attr_changes()
/linux-4.4.14/fs/f2fs/
H A Dfile.c653 if (!in_group_p(inode->i_gid) && !capable(CAP_FSETID)) __setattr_copy()
/linux-4.4.14/security/keys/
H A Dkeyctl.c828 if (group != (gid_t) -1 && !gid_eq(gid, key->gid) && !in_group_p(gid)) keyctl_chown_key()
/linux-4.4.14/fs/ext2/
H A Dballoc.c1190 !in_group_p (sbi->s_resgid))) { ext2_has_free_blocks()
/linux-4.4.14/fs/proc/
H A Dbase.c734 if (in_group_p(pid->pid_gid)) has_pid_permissions()
/linux-4.4.14/fs/quota/
H A Ddquot.c1170 return in_group_p(warn->w_dq_id.gid); need_print_warning()
/linux-4.4.14/fs/ocfs2/
H A Drefcounttree.c4377 if (!in_group_p(inode->i_gid) && !capable(CAP_CHOWN)) ocfs2_vfs_reflink()
/linux-4.4.14/fs/xfs/
H A Dxfs_inode.c817 (!in_group_p(xfs_gid_to_kgid(ip->i_d.di_gid)))) { xfs_ialloc()

Completed in 747 milliseconds