/kernel/linux/linux-5.10/kernel/ |
D | uid16.c | 93 rgid = high2lowgid(from_kgid_munged(cred->user_ns, cred->gid)); in SYSCALL_DEFINE3() 94 egid = high2lowgid(from_kgid_munged(cred->user_ns, cred->egid)); in SYSCALL_DEFINE3() 95 sgid = high2lowgid(from_kgid_munged(cred->user_ns, cred->sgid)); in SYSCALL_DEFINE3() 124 group = high2lowgid(from_kgid_munged(user_ns, kgid)); in groups16_to_user() 215 return high2lowgid(from_kgid_munged(current_user_ns(), current_gid())); in SYSCALL_DEFINE0() 220 return high2lowgid(from_kgid_munged(current_user_ns(), current_egid())); in SYSCALL_DEFINE0()
|
D | cred.c | 821 from_kgid_munged(&init_user_ns, cred->gid), in dump_invalid_creds() 822 from_kgid_munged(&init_user_ns, cred->egid), in dump_invalid_creds() 823 from_kgid_munged(&init_user_ns, cred->sgid), in dump_invalid_creds() 824 from_kgid_munged(&init_user_ns, cred->fsgid)); in dump_invalid_creds()
|
D | groups.c | 51 gid = from_kgid_munged(user_ns, group_info->gid[i]); in groups_to_user()
|
D | tsacct.c | 57 stats->ac_gid = from_kgid_munged(user_ns, tcred->gid); in bacct_add_tsk()
|
D | sys.c | 790 rgid = from_kgid_munged(cred->user_ns, cred->gid); in SYSCALL_DEFINE3() 791 egid = from_kgid_munged(cred->user_ns, cred->egid); in SYSCALL_DEFINE3() 792 sgid = from_kgid_munged(cred->user_ns, cred->sgid); in SYSCALL_DEFINE3() 863 old_fsgid = from_kgid_munged(old->user_ns, old->fsgid); in __sys_setfsgid() 949 return from_kgid_munged(current_user_ns(), current_gid()); in SYSCALL_DEFINE0() 955 return from_kgid_munged(current_user_ns(), current_egid()); in SYSCALL_DEFINE0()
|
/kernel/linux/linux-5.10/include/linux/ |
D | uidgid.h | 133 extern gid_t from_kgid_munged(struct user_namespace *to, kgid_t gid); 175 static inline gid_t from_kgid_munged(struct user_namespace *to, kgid_t kgid) in from_kgid_munged() function
|
/kernel/linux/linux-5.10/net/sunrpc/ |
D | auth_unix.c | 128 *p++ = cpu_to_be32(from_kgid_munged(userns, cred->cr_cred->fsgid)); in unx_marshal() 133 *p++ = cpu_to_be32(from_kgid_munged(userns, gi->gid[i])); in unx_marshal()
|
/kernel/linux/linux-5.10/fs/ |
D | stat.c | 249 SET_GID(tmp.st_gid, from_kgid_munged(current_user_ns(), stat->gid)); in cp_old_stat() 337 SET_GID(tmp.st_gid, from_kgid_munged(current_user_ns(), stat->gid)); in cp_new_stat() 481 tmp.st_gid = from_kgid_munged(current_user_ns(), stat->gid); in cp_new_stat64() 554 tmp.stx_gid = from_kgid_munged(current_user_ns(), stat->gid); in cp_statx() 632 SET_GID(tmp.st_gid, from_kgid_munged(current_user_ns(), stat->gid)); in cp_compat_stat()
|
D | binfmt_elf_fdpic.c | 655 NEW_AUX_ENT(AT_GID, (elf_addr_t) from_kgid_munged(cred->user_ns, cred->gid)); in create_elf_fdpic_tables() 656 NEW_AUX_ENT(AT_EGID, (elf_addr_t) from_kgid_munged(cred->user_ns, cred->egid)); in create_elf_fdpic_tables() 1376 SET_GID(psinfo->pr_gid, from_kgid_munged(cred->user_ns, cred->gid)); in fill_psinfo()
|
/kernel/linux/linux-5.10/fs/proc/ |
D | array.c | 196 seq_put_decimal_ull(m, "\nGid:\t", from_kgid_munged(user_ns, cred->gid)); in task_state() 197 seq_put_decimal_ull(m, "\t", from_kgid_munged(user_ns, cred->egid)); in task_state() 198 seq_put_decimal_ull(m, "\t", from_kgid_munged(user_ns, cred->sgid)); in task_state() 199 seq_put_decimal_ull(m, "\t", from_kgid_munged(user_ns, cred->fsgid)); in task_state() 206 from_kgid_munged(user_ns, group_info->gid[g])); in task_state()
|
/kernel/linux/linux-5.10/fs/quota/ |
D | kqid.c | 107 return from_kgid_munged(targ, kqid.gid); in from_kqid_munged()
|
/kernel/linux/linux-5.10/include/net/ |
D | scm.h | 128 .gid = from_kgid_munged(current_ns, scm->creds.gid), in scm_recv()
|
/kernel/linux/linux-5.10/drivers/connector/ |
D | cn_proc.c | 145 ev->event_data.id.r.rgid = from_kgid_munged(&init_user_ns, cred->gid); in proc_id_connector() 146 ev->event_data.id.e.egid = from_kgid_munged(&init_user_ns, cred->egid); in proc_id_connector()
|
/kernel/linux/linux-5.10/fs/hfsplus/ |
D | options.c | 227 from_kgid_munged(&init_user_ns, sbi->gid)); in hfsplus_show_options()
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | nf_log_common.c | 143 from_kgid_munged(&init_user_ns, cred->fsgid)); in nf_log_dump_sk_uid_gid()
|
/kernel/linux/linux-5.10/ipc/ |
D | util.c | 557 out->gid = from_kgid_munged(current_user_ns(), in->gid); in kernel_to_ipc64_perm() 559 out->cgid = from_kgid_munged(current_user_ns(), in->cgid); in kernel_to_ipc64_perm()
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | sys_ia32.c | 137 SET_GID(gid, from_kgid_munged(current_user_ns(), stat->gid)); in cp_stat64()
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
D | compat_linux.c | 138 tmp.st_gid = from_kgid_munged(current_user_ns(), stat->gid); in cp_stat64()
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
D | sys_sparc32.c | 74 err |= put_user(from_kgid_munged(current_user_ns(), stat->gid), &statbuf->st_gid); in cp_compat_stat64()
|
/kernel/linux/linux-5.10/security/keys/ |
D | proc.c | 239 from_kgid_munged(seq_user_ns(m), key->gid), in proc_keys_show()
|
/kernel/linux/linux-5.10/fs/autofs/ |
D | inode.c | 75 from_kgid_munged(&init_user_ns, root_inode->i_gid)); in autofs_show_options()
|
/kernel/linux/linux-5.10/fs/hfs/ |
D | super.c | 143 from_kgid_munged(&init_user_ns, sbi->s_gid)); in hfs_show_options()
|
/kernel/linux/linux-5.10/arch/arm/kernel/ |
D | sys_oabi-compat.c | 126 tmp.st_gid = from_kgid_munged(current_user_ns(), stat->gid); in cp_oldabi_stat64()
|
/kernel/linux/linux-5.10/fs/adfs/ |
D | super.c | 107 seq_printf(seq, ",gid=%u", from_kgid_munged(&init_user_ns, asb->s_gid)); in adfs_show_options()
|
/kernel/linux/linux-5.10/arch/s390/hypfs/ |
D | inode.c | 252 seq_printf(s, ",gid=%u", from_kgid_munged(&init_user_ns, hypfs_info->gid)); in hypfs_show_options()
|