Searched refs:in_group_p (Results 1 – 24 of 24) sorted by relevance
37 (in_group_p(gid) || gid_eq(gid, inode->i_gid))) in chgrp_ok()93 if (!in_group_p((ia_valid & ATTR_GID) ? attr->ia_gid : in setattr_prepare()195 if (!in_group_p(inode->i_gid) && in setattr_copy()
367 if (in_group_p(inode->i_gid)) { in posix_acl_permission()374 if (in_group_p(pa->e_gid)) { in posix_acl_permission()658 if (!in_group_p(inode->i_gid) && in posix_acl_update_mode()
2149 !in_group_p(inode->i_gid) && in inode_init_owner()
323 if (in_group_p(inode->i_gid)) in acl_permission_check()
219 int in_group_p(kgid_t grp) in in_group_p() function229 EXPORT_SYMBOL(in_group_p);
61 extern int in_group_p(kgid_t);74 static inline int in_group_p(kgid_t grp) in in_group_p() function
87 if (!in_group_p(inode->i_gid) && !capable(CAP_FSETID)) in configfs_setattr()
530 else if (in_group_p(ipcp->cgid) || in_group_p(ipcp->gid)) in ipcperms()
48 if (in_group_p(inode->i_gid)) in exfat_allow_set_time()
264 (!gid_eq(c->rp_gid, GLOBAL_ROOT_GID) && in_group_p(c->rp_gid))) in can_use_rp()
1092 if (!in_group_p(inode->i_gid) && !capable(CAP_FSETID)) in do_attr_changes()
455 if (in_group_p(inode->i_gid)) in fat_allow_set_time()
600 (!gid_eq(sbi->s_resgid, GLOBAL_ROOT_GID) && in_group_p(sbi->s_resgid)) || in ext4_has_free_clusters()
639 if (in_group_p(cifs_sb->mnt_backupgid)) in backup_cred()
1167 !in_group_p (sbi->s_resgid))) { in ext2_has_free_blocks()
990 if (group != (gid_t) -1 && !gid_eq(gid, key->gid) && !in_group_p(gid)) in keyctl_chown_key()
1437 return capable(CAP_IPC_LOCK) || in_group_p(shm_group); in can_do_hugetlb_shm()
974 !in_group_p(inode->i_gid) && in ovl_posix_acl_xattr_set()
870 (inode->i_mode & S_ISGID) && !in_group_p(inode->i_gid)) in xfs_ialloc()
1173 return in_group_p(warn->w_dq_id.gid); in need_print_warning()
723 if (in_group_p(fs_info->pid_gid)) in has_pid_permissions()
2021 in_group_p(F2FS_OPTION(sbi).s_resgid)) in __allow_reserved_blocks()
845 if (!in_group_p(inode->i_gid) && !capable(CAP_FSETID)) in __setattr_copy()
4393 if (!in_group_p(inode->i_gid) && !capable(CAP_CHOWN)) in ocfs2_vfs_reflink()