Home
last modified time | relevance | path

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

123

/linux-6.1.9/include/linux/
Duidgid.h127 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()
Dmnt_idmapping.h250 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/
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.c371 from_kgid(&init_user_ns, gid)); in tomoyo_path_chown()
/linux-6.1.9/fs/quota/
Dkqid.c74 return from_kgid(targ, kqid.gid); in from_kqid()
/linux-6.1.9/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()
/linux-6.1.9/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.h477 sys_attr.group = from_kgid(&init_user_ns, current_fsgid()); \
/linux-6.1.9/fs/nfsd/
Dflexfilelayoutxdr.c36 gid.len = sprintf(gid.buf, "%u", from_kgid(&init_user_ns, fl->gid)); in nfsd4_ff_encode_layoutget()
/linux-6.1.9/fs/ksmbd/
Dsmbacl.h235 return from_kgid(&init_user_ns, vfsgid_into_kgid(vfsgid)); in posix_acl_gid_translate()
/linux-6.1.9/fs/coda/
Dcoda_linux.c190 vattr->va_gid = (vgid_t) from_kgid(&init_user_ns, iattr->ia_gid); in coda_iattr_to_vattr()
/linux-6.1.9/kernel/
Duser_namespace.c495 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()
Dauditsc.c1388 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()
Daudit.c2248 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/
Dposix_acl.c766 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/
Dacl.c118 from_kgid(&init_user_ns, acl_e->e_gid)); in ext2_acl_to_disk()
/linux-6.1.9/fs/xfs/
Dxfs_acl.c117 from_kgid(&init_user_ns, acl_e->e_gid)); in xfs_acl_to_disk()
/linux-6.1.9/fs/ext4/
Dacl.c117 from_kgid(&init_user_ns, acl_e->e_gid)); in ext4_acl_to_disk()
/linux-6.1.9/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()
454 ri->gid = cpu_to_je16(from_kgid(&init_user_ns, current_fsgid())); in jffs2_new_inode()
/linux-6.1.9/net/9p/
Dclient.c1264 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/
Dxattr_acl.c165 from_kgid(&init_user_ns, acl_e->e_gid)); in reiserfs_posix_acl_to_disk()
/linux-6.1.9/security/integrity/evm/
Devm_crypto.c170 hmac_misc.gid = from_kgid(&init_user_ns, inode->i_gid); in hmac_add_misc()

123