Home
last modified time | relevance | path

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

123

/linux/include/linux/
A 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()
/linux/security/tomoyo/
A 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()
A 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()
A Dtomoyo.c362 from_kgid(&init_user_ns, gid)); in tomoyo_path_chown()
/linux/fs/nfs_common/
A 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/fs/quota/
A Dkqid.c74 return from_kgid(targ, kqid.gid); in from_kqid()
/linux/fs/orangefs/
A Dorangefs-cache.c145 new_op->upcall.gid = from_kgid(&init_user_ns, in op_alloc()
A 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()
A Dorangefs-kernel.h477 sys_attr.group = from_kgid(&init_user_ns, current_fsgid()); \
/linux/fs/nfsd/
A Dflexfilelayoutxdr.c36 gid.len = sprintf(gid.buf, "%u", from_kgid(&init_user_ns, fl->gid)); in nfsd4_ff_encode_layoutget()
/linux/kernel/
A Duser_namespace.c478 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 Dauditsc.c1357 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 Daudit.c2210 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 Dsmbacl.h234 return from_kgid(&init_user_ns, kgid); in posix_acl_gid_translate()
/linux/fs/coda/
A Dcoda_linux.c190 vattr->va_gid = (vgid_t) from_kgid(&init_user_ns, iattr->ia_gid); in coda_iattr_to_vattr()
/linux/fs/ext2/
A Dacl.c118 from_kgid(&init_user_ns, acl_e->e_gid)); in ext2_acl_to_disk()
/linux/net/9p/
A Dclient.c1294 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 Dxfs_acl.c116 from_kgid(&init_user_ns, acl_e->e_gid)); in xfs_acl_to_disk()
/linux/fs/jffs2/
A Dacl.c155 from_kgid(&init_user_ns, acl_e->e_gid)); in jffs2_acl_to_medium()
A 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/fs/ext4/
A Dacl.c117 from_kgid(&init_user_ns, acl_e->e_gid)); in ext4_acl_to_disk()
/linux/fs/
A Dposix_acl.c748 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 Dxattr_acl.c165 from_kgid(&init_user_ns, acl_e->e_gid)); in reiserfs_posix_acl_to_disk()
/linux/security/integrity/evm/
A Devm_crypto.c173 hmac_misc.gid = from_kgid(&init_user_ns, inode->i_gid); in hmac_add_misc()
/linux/fs/ocfs2/
A Dacl.c101 from_kgid(&init_user_ns, in ocfs2_acl_to_xattr()

Completed in 40 milliseconds

123