Home
last modified time | relevance | path

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

/Linux-v5.10/fs/
Dattr.c37 (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()
Dposix_acl.c367 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()
Dinode.c2149 !in_group_p(inode->i_gid) && in inode_init_owner()
Dnamei.c323 if (in_group_p(inode->i_gid)) in acl_permission_check()
/Linux-v5.10/kernel/
Dgroups.c219 int in_group_p(kgid_t grp) in in_group_p() function
229 EXPORT_SYMBOL(in_group_p);
/Linux-v5.10/include/linux/
Dcred.h61 extern int in_group_p(kgid_t);
74 static inline int in_group_p(kgid_t grp) in in_group_p() function
/Linux-v5.10/fs/configfs/
Dinode.c87 if (!in_group_p(inode->i_gid) && !capable(CAP_FSETID)) in configfs_setattr()
/Linux-v5.10/ipc/
Dutil.c530 else if (in_group_p(ipcp->cgid) || in_group_p(ipcp->gid)) in ipcperms()
/Linux-v5.10/fs/exfat/
Dfile.c48 if (in_group_p(inode->i_gid)) in exfat_allow_set_time()
/Linux-v5.10/fs/ubifs/
Dbudget.c264 (!gid_eq(c->rp_gid, GLOBAL_ROOT_GID) && in_group_p(c->rp_gid))) in can_use_rp()
Dfile.c1092 if (!in_group_p(inode->i_gid) && !capable(CAP_FSETID)) in do_attr_changes()
/Linux-v5.10/fs/fat/
Dfile.c455 if (in_group_p(inode->i_gid)) in fat_allow_set_time()
/Linux-v5.10/fs/ext4/
Dballoc.c600 (!gid_eq(sbi->s_resgid, GLOBAL_ROOT_GID) && in_group_p(sbi->s_resgid)) || in ext4_has_free_clusters()
/Linux-v5.10/fs/cifs/
Dmisc.c639 if (in_group_p(cifs_sb->mnt_backupgid)) in backup_cred()
/Linux-v5.10/fs/ext2/
Dballoc.c1167 !in_group_p (sbi->s_resgid))) { in ext2_has_free_blocks()
/Linux-v5.10/security/keys/
Dkeyctl.c990 if (group != (gid_t) -1 && !gid_eq(gid, key->gid) && !in_group_p(gid)) in keyctl_chown_key()
/Linux-v5.10/fs/hugetlbfs/
Dinode.c1437 return capable(CAP_IPC_LOCK) || in_group_p(shm_group); in can_do_hugetlb_shm()
/Linux-v5.10/fs/overlayfs/
Dsuper.c974 !in_group_p(inode->i_gid) && in ovl_posix_acl_xattr_set()
/Linux-v5.10/fs/xfs/
Dxfs_inode.c870 (inode->i_mode & S_ISGID) && !in_group_p(inode->i_gid)) in xfs_ialloc()
/Linux-v5.10/fs/quota/
Ddquot.c1173 return in_group_p(warn->w_dq_id.gid); in need_print_warning()
/Linux-v5.10/fs/proc/
Dbase.c723 if (in_group_p(fs_info->pid_gid)) in has_pid_permissions()
/Linux-v5.10/fs/f2fs/
Df2fs.h2021 in_group_p(F2FS_OPTION(sbi).s_resgid)) in __allow_reserved_blocks()
Dfile.c845 if (!in_group_p(inode->i_gid) && !capable(CAP_FSETID)) in __setattr_copy()
/Linux-v5.10/fs/ocfs2/
Drefcounttree.c4393 if (!in_group_p(inode->i_gid) && !capable(CAP_CHOWN)) in ocfs2_vfs_reflink()