Searched refs:vfsgid_t (Results 1 – 21 of 21) sorted by relevance
| /Linux-v6.6/include/linux/ |
| D | mnt_idmapping.h | 20 } vfsgid_t; typedef 23 static_assert(sizeof(vfsgid_t) == sizeof(kgid_t)); 25 static_assert(offsetof(vfsgid_t, val) == offsetof(kgid_t, val)); 33 static inline gid_t __vfsgid_val(vfsgid_t gid) in __vfsgid_val() 43 static inline gid_t __vfsgid_val(vfsgid_t gid) in __vfsgid_val() 54 static inline bool vfsgid_valid(vfsgid_t gid) in vfsgid_valid() 64 static inline bool vfsgid_eq(vfsgid_t left, vfsgid_t right) in vfsgid_eq() 94 static inline bool vfsgid_eq_kgid(vfsgid_t vfsgid, kgid_t kgid) in vfsgid_eq_kgid() 104 #define VFSGIDT_INIT(val) (vfsgid_t){ __kgid_val(val) } 116 int vfsgid_in_group_p(vfsgid_t vfsgid); [all …]
|
| D | fs.h | 247 vfsgid_t ia_vfsgid; 1411 static inline vfsgid_t i_gid_into_vfsgid(struct mnt_idmap *idmap, in i_gid_into_vfsgid()
|
| /Linux-v6.6/fs/ |
| D | mnt_idmapping.c | 135 vfsgid_t make_vfsgid(struct mnt_idmap *idmap, in make_vfsgid() 193 struct user_namespace *fs_userns, vfsgid_t vfsgid) in from_vfsgid() 219 int vfsgid_in_group_p(vfsgid_t vfsgid) in vfsgid_in_group_p() 224 int vfsgid_in_group_p(vfsgid_t vfsgid) in vfsgid_in_group_p()
|
| D | attr.c | 126 const struct inode *inode, vfsgid_t ia_vfsgid) in chgrp_ok() 128 vfsgid_t vfsgid = i_gid_into_vfsgid(idmap, inode); in chgrp_ok() 197 vfsgid_t vfsgid; in setattr_prepare()
|
| D | internal.h | 190 const struct inode *inode, vfsgid_t vfsgid);
|
| D | posix_acl.c | 383 vfsgid_t vfsgid; in posix_acl_permission() 899 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 | inode.c | 2559 const struct inode *inode, vfsgid_t vfsgid) in in_group_or_capable()
|
| D | exec.c | 1607 vfsgid_t vfsgid; in bprm_fill_uid()
|
| D | namei.c | 369 vfsgid_t vfsgid = i_gid_into_vfsgid(idmap, inode); in acl_permission_check()
|
| /Linux-v6.6/fs/smb/server/ |
| D | smbacl.h | 229 vfsgid_t vfsgid; in posix_acl_gid_translate()
|
| D | ndr.c | 349 vfsgid_t vfsgid; in ndr_encode_posix_acl()
|
| D | oplock.c | 1607 vfsgid_t vfsgid = i_gid_into_vfsgid(idmap, inode); in create_posix_rsp_buf()
|
| D | smb2pdu.c | 2619 vfsgid_t vfsgid = i_gid_into_vfsgid(idmap, inode); in ksmbd_acls_fattr() 4831 vfsgid_t vfsgid = i_gid_into_vfsgid(idmap, inode); in find_file_posix_info()
|
| /Linux-v6.6/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-v6.6/fs/xfs/ |
| D | xfs_itable.c | 70 vfsgid_t vfsgid; in xfs_bulkstat_one_int()
|
| D | xfs_iops.c | 561 vfsgid_t vfsgid = i_gid_into_vfsgid(idmap, inode); in xfs_vn_getattr()
|
| /Linux-v6.6/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-v6.6/fs/overlayfs/ |
| D | util.c | 1401 vfsgid_t vfsgid; in ovl_copyattr()
|
| D | inode.c | 480 vfsgid_t vfsgid; in ovl_idmap_posix_acl()
|
| /Linux-v6.6/fs/f2fs/ |
| D | file.c | 915 vfsgid_t vfsgid = i_gid_into_vfsgid(idmap, inode); in __setattr_copy()
|