Searched refs:vfsgid_t (Results 1 – 22 of 22) sorted by relevance
/linux-6.12.1/include/linux/ |
D | mnt_idmapping.h | 21 } vfsgid_t; typedef 24 static_assert(sizeof(vfsgid_t) == sizeof(kgid_t)); 26 static_assert(offsetof(vfsgid_t, val) == offsetof(kgid_t, val)); 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() 95 static inline bool vfsgid_eq_kgid(vfsgid_t vfsgid, kgid_t kgid) in vfsgid_eq_kgid() 105 #define VFSGIDT_INIT(val) (vfsgid_t){ __kgid_val(val) } 117 int vfsgid_in_group_p(vfsgid_t vfsgid); [all …]
|
D | fs.h | 251 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-6.12.1/fs/ |
D | mnt_idmapping.c | 17 #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()
|
D | attr.c | 122 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()
|
D | internal.h | 204 const struct inode *inode, vfsgid_t vfsgid);
|
D | posix_acl.c | 382 vfsgid_t vfsgid; in posix_acl_permission() 898 vfsgid_t vfsgid; in vfs_posix_acl_to_xattr()
|
D | stat.c | 50 vfsgid_t vfsgid = i_gid_into_vfsgid(idmap, inode); in generic_fillattr()
|
D | exec.c | 1619 vfsgid_t vfsgid; in bprm_fill_uid()
|
D | inode.c | 2682 const struct inode *inode, vfsgid_t vfsgid) in in_group_or_capable()
|
D | namei.c | 375 vfsgid_t vfsgid = i_gid_into_vfsgid(idmap, inode); in acl_permission_check()
|
/linux-6.12.1/fs/smb/server/ |
D | smbacl.h | 120 vfsgid_t vfsgid; in posix_acl_gid_translate()
|
D | ndr.c | 349 vfsgid_t vfsgid; in ndr_encode_posix_acl()
|
D | oplock.c | 1698 vfsgid_t vfsgid = i_gid_into_vfsgid(idmap, inode); in create_posix_rsp_buf()
|
D | smb2pdu.c | 2638 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-6.12.1/Documentation/filesystems/ |
D | idmappings.rst | 652 ``vfsuid_t`` and ``vfsgid_t`` types. 655 ``vfsuid_t`` and ``vfsgid_t`` types and we will be able to rely on the compiler 658 The ``vfsuid_t`` and ``vfsgid_t`` types are often mapped from and to ``kuid_t`` 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. [all …]
|
/linux-6.12.1/fs/xfs/ |
D | xfs_itable.c | 70 vfsgid_t vfsgid; in xfs_bulkstat_one_int()
|
D | xfs_iops.c | 585 vfsgid_t vfsgid = i_gid_into_vfsgid(idmap, inode); in xfs_vn_getattr()
|
/linux-6.12.1/security/integrity/ima/ |
D | ima_policy.c | 83 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-6.12.1/fs/overlayfs/ |
D | inode.c | 355 vfsgid_t vfsgid; in ovl_idmap_posix_acl()
|
D | util.c | 1518 vfsgid_t vfsgid; in ovl_copyattr()
|
/linux-6.12.1/fs/fuse/ |
D | dir.c | 556 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-6.12.1/fs/bcachefs/ |
D | fs.c | 1099 vfsgid_t vfsgid = i_gid_into_vfsgid(idmap, &inode->v); in bch2_getattr()
|