Searched refs:in_group_p (Results 1 – 18 of 18) sorted by relevance
227 int in_group_p(kgid_t grp) in in_group_p() function237 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
208 return in_group_p(AS_KGIDT(vfsgid)); in vfsgid_in_group_p()
80 if (!in_group_p(inode->i_gid) && !capable(CAP_FSETID)) in configfs_setattr()
564 else if (in_group_p(ipcp->cgid) || in_group_p(ipcp->gid)) in ipcperms()
260 (!gid_eq(c->rp_gid, GLOBAL_ROOT_GID) && in_group_p(c->rp_gid))) in can_use_rp()
1100 if (!in_group_p(inode->i_gid) && !capable(CAP_FSETID)) in do_attr_changes()
651 (!gid_eq(sbi->s_resgid, GLOBAL_ROOT_GID) && in_group_p(sbi->s_resgid)) || in ext4_has_free_clusters()
557 !in_group_p(inode->i_gid) && in ovl_set_acl()
1167 !in_group_p (sbi->s_resgid))) { in ext2_has_free_blocks()
658 if (in_group_p(cifs_sb->ctx->backupgid)) in backup_cred()
993 if (group != (gid_t) -1 && !gid_eq(gid, key->gid) && !in_group_p(gid)) in keyctl_chown_key()
1572 return capable(CAP_IPC_LOCK) || in_group_p(shm_group); in can_do_hugetlb_shm()
1197 return in_group_p(warn->w_dq_id.gid); in need_print_warning()
760 if (in_group_p(fs_info->pid_gid)) in has_pid_permissions()
3762 return in_group_p(io_uring_group); in io_uring_allowed()
2306 in_group_p(F2FS_OPTION(sbi).s_resgid)) in __allow_reserved_blocks()
4379 if (!in_group_p(inode->i_gid) && !capable(CAP_CHOWN)) in ocfs2_vfs_reflink()