Home
last modified time | relevance | path

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

/linux-6.12.1/kernel/
Dgroups.c227 int in_group_p(kgid_t grp) in in_group_p() function
237 EXPORT_SYMBOL(in_group_p);
/linux-6.12.1/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-6.12.1/fs/
Dmnt_idmapping.c208 return in_group_p(AS_KGIDT(vfsgid)); in vfsgid_in_group_p()
/linux-6.12.1/fs/configfs/
Dinode.c80 if (!in_group_p(inode->i_gid) && !capable(CAP_FSETID)) in configfs_setattr()
/linux-6.12.1/ipc/
Dutil.c564 else if (in_group_p(ipcp->cgid) || in_group_p(ipcp->gid)) in ipcperms()
/linux-6.12.1/fs/ubifs/
Dbudget.c260 (!gid_eq(c->rp_gid, GLOBAL_ROOT_GID) && in_group_p(c->rp_gid))) in can_use_rp()
Dfile.c1100 if (!in_group_p(inode->i_gid) && !capable(CAP_FSETID)) in do_attr_changes()
/linux-6.12.1/fs/ext4/
Dballoc.c651 (!gid_eq(sbi->s_resgid, GLOBAL_ROOT_GID) && in_group_p(sbi->s_resgid)) || in ext4_has_free_clusters()
/linux-6.12.1/fs/overlayfs/
Dinode.c557 !in_group_p(inode->i_gid) && in ovl_set_acl()
/linux-6.12.1/fs/ext2/
Dballoc.c1167 !in_group_p (sbi->s_resgid))) { in ext2_has_free_blocks()
/linux-6.12.1/fs/smb/client/
Dmisc.c658 if (in_group_p(cifs_sb->ctx->backupgid)) in backup_cred()
/linux-6.12.1/security/keys/
Dkeyctl.c993 if (group != (gid_t) -1 && !gid_eq(gid, key->gid) && !in_group_p(gid)) in keyctl_chown_key()
/linux-6.12.1/fs/hugetlbfs/
Dinode.c1572 return capable(CAP_IPC_LOCK) || in_group_p(shm_group); in can_do_hugetlb_shm()
/linux-6.12.1/fs/quota/
Ddquot.c1197 return in_group_p(warn->w_dq_id.gid); in need_print_warning()
/linux-6.12.1/fs/proc/
Dbase.c760 if (in_group_p(fs_info->pid_gid)) in has_pid_permissions()
/linux-6.12.1/io_uring/
Dio_uring.c3762 return in_group_p(io_uring_group); in io_uring_allowed()
/linux-6.12.1/fs/f2fs/
Df2fs.h2306 in_group_p(F2FS_OPTION(sbi).s_resgid)) in __allow_reserved_blocks()
/linux-6.12.1/fs/ocfs2/
Drefcounttree.c4379 if (!in_group_p(inode->i_gid) && !capable(CAP_CHOWN)) in ocfs2_vfs_reflink()