/linux/include/linux/ |
A 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()
|
/linux/security/tomoyo/ |
A 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()
|
A 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()
|
A D | tomoyo.c | 362 from_kgid(&init_user_ns, gid)); in tomoyo_path_chown()
|
/linux/fs/nfs_common/ |
A 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/fs/quota/ |
A D | kqid.c | 74 return from_kgid(targ, kqid.gid); in from_kqid()
|
/linux/fs/orangefs/ |
A D | orangefs-cache.c | 145 new_op->upcall.gid = from_kgid(&init_user_ns, in op_alloc()
|
A 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()
|
A D | orangefs-kernel.h | 477 sys_attr.group = from_kgid(&init_user_ns, current_fsgid()); \
|
/linux/fs/nfsd/ |
A D | flexfilelayoutxdr.c | 36 gid.len = sprintf(gid.buf, "%u", from_kgid(&init_user_ns, fl->gid)); in nfsd4_ff_encode_layoutget()
|
/linux/kernel/ |
A D | user_namespace.c | 478 gid_t from_kgid(struct user_namespace *targ, kgid_t kgid) in from_kgid() function 483 EXPORT_SYMBOL(from_kgid); 505 gid = from_kgid(targ, kgid); in from_kgid_munged() 614 lower = from_kgid(lower_ns, KGIDT_INIT(extent->lower_first)); in gid_m_show()
|
A D | auditsc.c | 1357 from_kgid(&init_user_ns, context->ipc.gid), in show_special() 1518 from_kgid(&init_user_ns, n->gid), in audit_log_name() 1626 from_kgid(&init_user_ns, cred->gid), in audit_log_uring() 1630 from_kgid(&init_user_ns, cred->egid), in audit_log_uring() 1631 from_kgid(&init_user_ns, cred->sgid), in audit_log_uring() 1632 from_kgid(&init_user_ns, cred->fsgid)); in audit_log_uring() 2904 from_kgid(&init_user_ns, gid), in audit_log_task()
|
A D | audit.c | 2210 from_kgid(&init_user_ns, cred->gid), in audit_log_task_info() 2214 from_kgid(&init_user_ns, cred->egid), in audit_log_task_info() 2215 from_kgid(&init_user_ns, cred->sgid), in audit_log_task_info() 2216 from_kgid(&init_user_ns, cred->fsgid), in audit_log_task_info()
|
/linux/fs/ksmbd/ |
A D | smbacl.h | 234 return from_kgid(&init_user_ns, kgid); in posix_acl_gid_translate()
|
/linux/fs/coda/ |
A D | coda_linux.c | 190 vattr->va_gid = (vgid_t) from_kgid(&init_user_ns, iattr->ia_gid); in coda_iattr_to_vattr()
|
/linux/fs/ext2/ |
A D | acl.c | 118 from_kgid(&init_user_ns, acl_e->e_gid)); in ext2_acl_to_disk()
|
/linux/net/9p/ |
A D | client.c | 1294 from_kgid(&init_user_ns, gid)); in p9_client_create_dotl() 1732 from_kgid(&init_user_ns, ret->n_gid), in p9_client_stat() 1789 from_kgid(&init_user_ns, ret->st_gid), in p9_client_getattr_dotl() 1857 from_kgid(&init_user_ns, wst->n_gid), in p9_client_wstat() 1887 from_kgid(&init_user_ns, p9attr->gid), in p9_client_setattr() 2182 fid->fid, name, mode, from_kgid(&init_user_ns, gid)); in p9_client_mkdir_dotl()
|
/linux/fs/xfs/ |
A D | xfs_acl.c | 116 from_kgid(&init_user_ns, acl_e->e_gid)); in xfs_acl_to_disk()
|
/linux/fs/jffs2/ |
A D | acl.c | 155 from_kgid(&init_user_ns, acl_e->e_gid)); in jffs2_acl_to_medium()
|
A 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/fs/ext4/ |
A D | acl.c | 117 from_kgid(&init_user_ns, acl_e->e_gid)); in ext4_acl_to_disk()
|
/linux/fs/ |
A D | posix_acl.c | 748 entry->e_id = cpu_to_le32(from_kgid(to, gid)); in posix_acl_fix_xattr_userns() 876 cpu_to_le32(from_kgid(user_ns, acl_e->e_gid)); in posix_acl_to_xattr()
|
/linux/fs/reiserfs/ |
A D | xattr_acl.c | 165 from_kgid(&init_user_ns, acl_e->e_gid)); in reiserfs_posix_acl_to_disk()
|
/linux/security/integrity/evm/ |
A D | evm_crypto.c | 173 hmac_misc.gid = from_kgid(&init_user_ns, inode->i_gid); in hmac_add_misc()
|
/linux/fs/ocfs2/ |
A D | acl.c | 101 from_kgid(&init_user_ns, in ocfs2_acl_to_xattr()
|