/linux-6.1.9/include/linux/ |
D | uidgid.h | 127 extern gid_t from_kgid(struct user_namespace *to, kgid_t gid); 138 return from_kgid(ns, gid) != (gid_t) -1; in kgid_has_mapping() 158 static inline gid_t from_kgid(struct user_namespace *to, kgid_t kgid) in from_kgid() function 173 gid_t gid = from_kgid(to, kgid); in from_kgid_munged()
|
D | mnt_idmapping.h | 250 gid = from_kgid(fs_userns, kgid); in make_vfsgid() 368 gid = from_kgid(mnt_userns, AS_KGIDT(vfsgid)); in from_vfsgid()
|
/linux-6.1.9/security/tomoyo/ |
D | audit.c | 172 from_kgid(&init_user_ns, current_gid()), in tomoyo_print_header() 174 from_kgid(&init_user_ns, current_egid()), in tomoyo_print_header() 176 from_kgid(&init_user_ns, current_sgid()), in tomoyo_print_header() 178 from_kgid(&init_user_ns, current_fsgid())); in tomoyo_print_header() 201 from_kgid(&init_user_ns, stat->gid), in tomoyo_print_header() 210 from_kgid(&init_user_ns, stat->gid), in tomoyo_print_header()
|
D | condition.c | 853 value = from_kgid(&init_user_ns, current_gid()); in tomoyo_condition() 856 value = from_kgid(&init_user_ns, current_egid()); in tomoyo_condition() 859 value = from_kgid(&init_user_ns, current_sgid()); in tomoyo_condition() 862 value = from_kgid(&init_user_ns, current_fsgid()); in tomoyo_condition() 1005 value = from_kgid(&init_user_ns, stat->gid); in tomoyo_condition()
|
D | tomoyo.c | 371 from_kgid(&init_user_ns, gid)); in tomoyo_path_chown()
|
/linux-6.1.9/fs/quota/ |
D | kqid.c | 74 return from_kgid(targ, kqid.gid); in from_kqid()
|
/linux-6.1.9/fs/nfs_common/ |
D | nfsacl.c | 64 *p++ = htonl(from_kgid(&init_user_ns, nfsacl_desc->gid)); in xdr_nfsace_encode() 70 *p++ = htonl(from_kgid(&init_user_ns, entry->e_gid)); in xdr_nfsace_encode()
|
/linux-6.1.9/fs/orangefs/ |
D | orangefs-cache.c | 145 new_op->upcall.gid = from_kgid(&init_user_ns, in op_alloc()
|
D | orangefs-utils.c | 150 attrs->group = from_kgid(&init_user_ns, inode->i_gid); in copy_attributes_from_inode() 429 new_op->upcall.gid = from_kgid(&init_user_ns, orangefs_inode->attr_gid); in orangefs_inode_setattr()
|
D | orangefs-kernel.h | 477 sys_attr.group = from_kgid(&init_user_ns, current_fsgid()); \
|
/linux-6.1.9/fs/nfsd/ |
D | flexfilelayoutxdr.c | 36 gid.len = sprintf(gid.buf, "%u", from_kgid(&init_user_ns, fl->gid)); in nfsd4_ff_encode_layoutget()
|
/linux-6.1.9/fs/ksmbd/ |
D | smbacl.h | 235 return from_kgid(&init_user_ns, vfsgid_into_kgid(vfsgid)); in posix_acl_gid_translate()
|
/linux-6.1.9/fs/coda/ |
D | coda_linux.c | 190 vattr->va_gid = (vgid_t) from_kgid(&init_user_ns, iattr->ia_gid); in coda_iattr_to_vattr()
|
/linux-6.1.9/kernel/ |
D | user_namespace.c | 495 gid_t from_kgid(struct user_namespace *targ, kgid_t kgid) in from_kgid() function 500 EXPORT_SYMBOL(from_kgid); 522 gid = from_kgid(targ, kgid); in from_kgid_munged() 631 lower = from_kgid(lower_ns, KGIDT_INIT(extent->lower_first)); in gid_m_show()
|
D | auditsc.c | 1388 from_kgid(&init_user_ns, context->ipc.gid), in show_special() 1554 from_kgid(&init_user_ns, n->gid), in audit_log_name() 1662 from_kgid(&init_user_ns, cred->gid), in audit_log_uring() 1666 from_kgid(&init_user_ns, cred->egid), in audit_log_uring() 1667 from_kgid(&init_user_ns, cred->sgid), in audit_log_uring() 1668 from_kgid(&init_user_ns, cred->fsgid)); in audit_log_uring() 2941 from_kgid(&init_user_ns, gid), in audit_log_task()
|
D | audit.c | 2248 from_kgid(&init_user_ns, cred->gid), in audit_log_task_info() 2252 from_kgid(&init_user_ns, cred->egid), in audit_log_task_info() 2253 from_kgid(&init_user_ns, cred->sgid), in audit_log_task_info() 2254 from_kgid(&init_user_ns, cred->fsgid), in audit_log_task_info()
|
/linux-6.1.9/fs/ |
D | posix_acl.c | 766 entry->e_id = cpu_to_le32(from_kgid(&init_user_ns, in posix_acl_getxattr_idmapped_mnt() 797 entry->e_id = cpu_to_le32(from_kgid(to, gid)); in posix_acl_fix_xattr_userns() 1105 cpu_to_le32(from_kgid(user_ns, acl_e->e_gid)); in posix_acl_to_xattr()
|
/linux-6.1.9/fs/ext2/ |
D | acl.c | 118 from_kgid(&init_user_ns, acl_e->e_gid)); in ext2_acl_to_disk()
|
/linux-6.1.9/fs/xfs/ |
D | xfs_acl.c | 117 from_kgid(&init_user_ns, acl_e->e_gid)); in xfs_acl_to_disk()
|
/linux-6.1.9/fs/ext4/ |
D | acl.c | 117 from_kgid(&init_user_ns, acl_e->e_gid)); in ext4_acl_to_disk()
|
/linux-6.1.9/fs/jffs2/ |
D | acl.c | 155 from_kgid(&init_user_ns, acl_e->e_gid)); in jffs2_acl_to_medium()
|
D | fs.c | 107 from_kgid(&init_user_ns, iattr->ia_gid):i_gid_read(inode)); in jffs2_do_setattr() 454 ri->gid = cpu_to_je16(from_kgid(&init_user_ns, current_fsgid())); in jffs2_new_inode()
|
/linux-6.1.9/net/9p/ |
D | client.c | 1264 from_kgid(&init_user_ns, gid)); in p9_client_create_dotl() 1700 from_kgid(&init_user_ns, ret->n_gid), in p9_client_stat() 1757 from_kgid(&init_user_ns, ret->st_gid), in p9_client_getattr_dotl() 1825 from_kgid(&init_user_ns, wst->n_gid), in p9_client_wstat() 1855 from_kgid(&init_user_ns, p9attr->gid), in p9_client_setattr() 2150 fid->fid, name, mode, from_kgid(&init_user_ns, gid)); in p9_client_mkdir_dotl()
|
/linux-6.1.9/fs/reiserfs/ |
D | xattr_acl.c | 165 from_kgid(&init_user_ns, acl_e->e_gid)); in reiserfs_posix_acl_to_disk()
|
/linux-6.1.9/security/integrity/evm/ |
D | evm_crypto.c | 170 hmac_misc.gid = from_kgid(&init_user_ns, inode->i_gid); in hmac_add_misc()
|