Home
last modified time | relevance | path

Searched refs:vfsgid_t (Results 1 – 22 of 22) sorted by relevance

/linux/include/linux/
A Dmnt_idmapping.h21 } vfsgid_t; typedef
24 static_assert(sizeof(vfsgid_t) == sizeof(kgid_t));
34 static inline gid_t __vfsgid_val(vfsgid_t gid) in __vfsgid_val()
44 static inline gid_t __vfsgid_val(vfsgid_t gid) in __vfsgid_val()
55 static inline bool vfsgid_valid(vfsgid_t gid) in vfsgid_valid()
65 static inline bool vfsgid_eq(vfsgid_t left, vfsgid_t right) in vfsgid_eq()
105 #define VFSGIDT_INIT(val) (vfsgid_t){ __kgid_val(val) }
117 int vfsgid_in_group_p(vfsgid_t vfsgid);
125 vfsgid_t make_vfsgid(struct mnt_idmap *idmap,
186 vfsgid_t vfsgid) in vfsgid_has_fsmapping()
[all …]
A Dfs.h251 vfsgid_t ia_vfsgid;
1485 static inline vfsgid_t i_gid_into_vfsgid(struct mnt_idmap *idmap, in i_gid_into_vfsgid()
1991 const struct inode *inode, vfsgid_t vfsgid);
/linux/fs/
A Dmnt_idmapping.c17 #define VFSGIDT_INIT_RAW(val) (vfsgid_t){ val }
119 vfsgid_t make_vfsgid(struct mnt_idmap *idmap, in make_vfsgid()
179 struct user_namespace *fs_userns, vfsgid_t vfsgid) in from_vfsgid()
206 int vfsgid_in_group_p(vfsgid_t vfsgid) in vfsgid_in_group_p()
211 int vfsgid_in_group_p(vfsgid_t vfsgid) in vfsgid_in_group_p()
A Dattr.c122 const struct inode *inode, vfsgid_t ia_vfsgid) in chgrp_ok()
124 vfsgid_t vfsgid = i_gid_into_vfsgid(idmap, inode); in chgrp_ok()
193 vfsgid_t vfsgid; in setattr_prepare()
A Dinternal.h204 const struct inode *inode, vfsgid_t vfsgid);
A Dposix_acl.c382 vfsgid_t vfsgid; in posix_acl_permission()
898 vfsgid_t vfsgid; in vfs_posix_acl_to_xattr()
A Dstat.c50 vfsgid_t vfsgid = i_gid_into_vfsgid(idmap, inode); in generic_fillattr()
A Dexec.c1619 vfsgid_t vfsgid; in bprm_fill_uid()
A Dinode.c2682 const struct inode *inode, vfsgid_t vfsgid) in in_group_or_capable()
A Dnamei.c375 vfsgid_t vfsgid = i_gid_into_vfsgid(idmap, inode); in acl_permission_check()
/linux/fs/smb/server/
A Dsmbacl.h120 vfsgid_t vfsgid; in posix_acl_gid_translate()
A Dndr.c349 vfsgid_t vfsgid; in ndr_encode_posix_acl()
A Doplock.c1698 vfsgid_t vfsgid = i_gid_into_vfsgid(idmap, inode); in create_posix_rsp_buf()
A Dsmb2pdu.c2638 vfsgid_t vfsgid = i_gid_into_vfsgid(idmap, inode); in ksmbd_acls_fattr()
5141 vfsgid_t vfsgid = i_gid_into_vfsgid(idmap, inode); in find_file_posix_info()
/linux/Documentation/filesystems/
A Didmappings.rst652 ``vfsuid_t`` and ``vfsgid_t`` types.
663 gid_t <--> kgid_t <--> vfsgid_t
665 Whenever we report ownership based on a ``vfsuid_t`` or ``vfsgid_t`` type,
667 based on a ``vfsuid_t`` or ``vfsgid_t`` type, e.g., during ``chown()`` we can
672 a ``vfsuid_t`` or ``vfsgid_t`` based on the mount idmapping we later commit to
673 this ``vfsuid_t`` or ``vfsgid_t`` to become the new filesystem wide ownership.
674 Thus, we are turning the ``vfsuid_t`` or ``vfsgid_t`` into a global ``kuid_t``
681 and ``vfsgid_t`` is specific to an idmapped mount.
683 We already noted that ``vfsuid_t`` and ``vfsgid_t`` types are generated based
686 ``vfsuid_t`` or ``vfsgid_t`` types or mount idmappings to generate ``kuid_t``
[all …]
/linux/fs/xfs/
A Dxfs_itable.c70 vfsgid_t vfsgid; in xfs_bulkstat_one_int()
A Dxfs_iops.c585 vfsgid_t vfsgid = i_gid_into_vfsgid(idmap, inode); in xfs_vn_getattr()
/linux/security/integrity/ima/
A Dima_policy.c83 static inline bool vfsgid_gt_kgid(vfsgid_t vfsgid, kgid_t kgid) in vfsgid_gt_kgid()
93 static inline bool vfsgid_lt_kgid(vfsgid_t vfsgid, kgid_t kgid) in vfsgid_lt_kgid()
113 …bool (*fgroup_op)(vfsgid_t vfsgid, kgid_t rule_gid); /* vfsgid_eq_kgid(), vfsgid_gt_kgid(), vfsgid…
/linux/fs/overlayfs/
A Dinode.c355 vfsgid_t vfsgid; in ovl_idmap_posix_acl()
A Dutil.c1518 vfsgid_t vfsgid; in ovl_copyattr()
/linux/fs/fuse/
A Ddir.c556 vfsgid_t vfsgid = make_vfsgid(idmap, fc->user_ns, kgid); in get_create_supp_group()
1146 vfsgid_t vfsgid = make_vfsgid(idmap, fc->user_ns, in fuse_fillattr()
/linux/fs/bcachefs/
A Dfs.c1099 vfsgid_t vfsgid = i_gid_into_vfsgid(idmap, &inode->v); in bch2_getattr()

Completed in 87 milliseconds