Home
last modified time | relevance | path

Searched refs:vfsgid (Results 1 – 13 of 13) sorted by relevance

/linux/fs/smb/server/
H A Dsmbacl.h120 vfsgid_t vfsgid; in posix_acl_gid_translate() local
123 vfsgid = make_vfsgid(idmap, &init_user_ns, pace->e_gid); in posix_acl_gid_translate()
126 return from_kgid(&init_user_ns, vfsgid_into_kgid(vfsgid)); in posix_acl_gid_translate()
H A Dndr.c349 vfsgid_t vfsgid; in ndr_encode_posix_acl() local
381 vfsgid = i_gid_into_vfsgid(idmap, inode); in ndr_encode_posix_acl()
382 ret = ndr_write_int64(n, from_kgid(&init_user_ns, vfsgid_into_kgid(vfsgid))); in ndr_encode_posix_acl()
H A Doplock.c1701 vfsgid_t vfsgid = i_gid_into_vfsgid(idmap, inode); in create_posix_rsp_buf() local
1745 id_to_sid(from_kgid_munged(&init_user_ns, vfsgid_into_kgid(vfsgid)), in create_posix_rsp_buf()
H A Dsmb2pdu.c2662 vfsgid_t vfsgid = i_gid_into_vfsgid(idmap, inode); in ksmbd_acls_fattr() local
2665 fattr->cf_gid = vfsgid_into_kgid(vfsgid); in ksmbd_acls_fattr()
5256 vfsgid_t vfsgid = i_gid_into_vfsgid(idmap, inode); in find_file_posix_info() local
5315 id_to_sid(from_kgid_munged(&init_user_ns, vfsgid_into_kgid(vfsgid)), in find_file_posix_info()
/linux/fs/xfs/
H A Dxfs_itable.c78 vfsgid_t vfsgid; in xfs_bulkstat_one_int() local
103 vfsgid = i_gid_into_vfsgid(idmap, inode); in xfs_bulkstat_one_int()
139 buf->bs_gid = from_kgid(sb_userns, vfsgid_into_kgid(vfsgid)); in xfs_bulkstat_one_int()
H A Dxfs_iops.c693 vfsgid_t vfsgid = i_gid_into_vfsgid(idmap, inode); in xfs_vn_getattr() local
705 stat->gid = vfsgid_into_kgid(vfsgid); in xfs_vn_getattr()
/linux/fs/overlayfs/
H A Dinode.c349 vfsgid_t vfsgid; in ovl_idmap_posix_acl() local
358 vfsgid = make_vfsgid(idmap, fs_userns, e->e_gid); in ovl_idmap_posix_acl()
359 e->e_gid = vfsgid_into_kgid(vfsgid); in ovl_idmap_posix_acl()
/linux/fs/
H A Dexec.c1540 vfsgid_t vfsgid; in bprm_fill_uid() local
1561 vfsgid = i_gid_into_vfsgid(idmap, inode); in bprm_fill_uid()
1571 !vfsgid_has_mapping(bprm->cred->user_ns, vfsgid)) in bprm_fill_uid()
1581 bprm->cred->egid = vfsgid_into_kgid(vfsgid); in bprm_fill_uid()
H A Dinternal.h212 const struct inode *inode, vfsgid_t vfsgid);
H A Dstat.c86 vfsgid_t vfsgid = i_gid_into_vfsgid(idmap, inode); in generic_fillattr() local
93 stat->gid = vfsgid_into_kgid(vfsgid); in generic_fillattr()
H A Dinode.c2949 const struct inode *inode, vfsgid_t vfsgid) in in_group_or_capable() argument
2951 if (vfsgid_in_group_p(vfsgid)) in in_group_or_capable()
/linux/security/integrity/ima/
H A Dima_policy.c85 static inline bool vfsgid_gt_kgid(vfsgid_t vfsgid, kgid_t kgid) in vfsgid_gt_kgid() argument
87 return __vfsgid_val(vfsgid) > __kgid_val(kgid); in vfsgid_gt_kgid()
95 static inline bool vfsgid_lt_kgid(vfsgid_t vfsgid, kgid_t kgid) in vfsgid_lt_kgid() argument
97 return __vfsgid_val(vfsgid) < __kgid_val(kgid); in vfsgid_lt_kgid()
115 …bool (*fgroup_op)(vfsgid_t vfsgid, kgid_t rule_gid); /* vfsgid_eq_kgid(), vfsgid_gt_kgid(), vfsgid…
/linux/fs/fuse/
H A Ddir.c751 vfsgid_t vfsgid = make_vfsgid(idmap, fc->user_ns, kgid); in get_create_supp_group() local
756 if (parent_gid == (gid_t) -1 || vfsgid_eq_kgid(vfsgid, current_fsgid()) || in get_create_supp_group()
757 !vfsgid_in_group_p(vfsgid)) in get_create_supp_group()
1367 vfsgid_t vfsgid = make_vfsgid(idmap, fc->user_ns, in fuse_fillattr() local
1375 stat->gid = vfsgid_into_kgid(vfsgid); in fuse_fillattr()