Home
last modified time | relevance | path

Searched refs:from_kgid (Results 1 – 25 of 57) sorted by relevance

123

/kernel/linux/linux-5.10/include/linux/
Duidgid.h135 extern gid_t from_kgid(struct user_namespace *to, kgid_t gid);
146 return from_kgid(ns, gid) != (gid_t) -1; in kgid_has_mapping()
166 static inline gid_t from_kgid(struct user_namespace *to, kgid_t kgid) in from_kgid() function
181 gid_t gid = from_kgid(to, kgid); in from_kgid_munged()
/kernel/linux/linux-5.10/security/tomoyo/
Daudit.c172 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()
Dcondition.c853 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()
Dtomoyo.c364 from_kgid(&init_user_ns, gid)); in tomoyo_path_chown()
/kernel/linux/linux-5.10/fs/nfs_common/
Dnfsacl.c64 *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()
/kernel/linux/linux-5.10/fs/quota/
Dkqid.c74 return from_kgid(targ, kqid.gid); in from_kqid()
/kernel/linux/linux-5.10/fs/orangefs/
Dorangefs-cache.c145 new_op->upcall.gid = from_kgid(&init_user_ns, in op_alloc()
Dorangefs-utils.c150 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()
Dorangefs-kernel.h474 sys_attr.group = from_kgid(&init_user_ns, current_fsgid()); \
/kernel/linux/linux-5.10/fs/nfsd/
Dflexfilelayoutxdr.c36 gid.len = sprintf(gid.buf, "%u", from_kgid(&init_user_ns, fl->gid)); in nfsd4_ff_encode_layoutget()
/kernel/linux/linux-5.10/fs/coda/
Dcoda_linux.c191 vattr->va_gid = (vgid_t) from_kgid(&init_user_ns, iattr->ia_gid); in coda_iattr_to_vattr()
/kernel/linux/linux-5.10/kernel/
Duser_namespace.c474 gid_t from_kgid(struct user_namespace *targ, kgid_t kgid) in from_kgid() function
479 EXPORT_SYMBOL(from_kgid);
501 gid = from_kgid(targ, kgid); in from_kgid_munged()
610 lower = from_kgid(lower_ns, KGIDT_INIT(extent->lower_first)); in gid_m_show()
Daudit.c2247 from_kgid(&init_user_ns, cred->gid), in audit_log_task_info()
2251 from_kgid(&init_user_ns, cred->egid), in audit_log_task_info()
2252 from_kgid(&init_user_ns, cred->sgid), in audit_log_task_info()
2253 from_kgid(&init_user_ns, cred->fsgid), in audit_log_task_info()
/kernel/linux/linux-5.10/fs/ext2/
Dacl.c118 from_kgid(&init_user_ns, acl_e->e_gid)); in ext2_acl_to_disk()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_acl.c115 from_kgid(&init_user_ns, acl_e->e_gid)); in xfs_acl_to_disk()
/kernel/linux/linux-5.10/fs/ext4/
Dacl.c117 from_kgid(&init_user_ns, acl_e->e_gid)); in ext4_acl_to_disk()
/kernel/linux/linux-5.10/fs/jffs2/
Dacl.c155 from_kgid(&init_user_ns, acl_e->e_gid)); in jffs2_acl_to_medium()
Dfs.c107 from_kgid(&init_user_ns, iattr->ia_gid):i_gid_read(inode)); in jffs2_do_setattr()
453 ri->gid = cpu_to_je16(from_kgid(&init_user_ns, current_fsgid())); in jffs2_new_inode()
/kernel/linux/linux-5.10/net/9p/
Dclient.c1295 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()
1854 from_kgid(&init_user_ns, wst->n_gid), in p9_client_wstat()
1886 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()
/kernel/linux/linux-5.10/security/integrity/evm/
Devm_crypto.c168 hmac_misc.gid = from_kgid(&init_user_ns, inode->i_gid); in hmac_add_misc()
/kernel/linux/linux-5.10/fs/reiserfs/
Dxattr_acl.c163 from_kgid(&init_user_ns, acl_e->e_gid)); in reiserfs_posix_acl_to_disk()
/kernel/linux/linux-5.10/fs/
Dposix_acl.c700 entry->e_id = cpu_to_le32(from_kgid(to, gid)); in posix_acl_fix_xattr_userns()
824 cpu_to_le32(from_kgid(user_ns, acl_e->e_gid)); in posix_acl_to_xattr()
/kernel/linux/linux-5.10/fs/ocfs2/
Dacl.c103 from_kgid(&init_user_ns, in ocfs2_acl_to_xattr()
/kernel/linux/linux-5.10/fs/f2fs/
Dacl.c143 from_kgid(&init_user_ns, in f2fs_acl_to_disk()
/kernel/linux/linux-5.10/fs/hpfs/
Dinode.c272 from_kgid(&init_user_ns, attr->ia_gid) >= 0x10000) in hpfs_setattr()

123