Home
last modified time | relevance | path

Searched refs:from_kgid_munged (Results 1 – 25 of 75) sorted by relevance

123

/linux-6.1.9/kernel/
Duid16.c93 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()
Dcred.c855 from_kgid_munged(&init_user_ns, cred->gid), in dump_invalid_creds()
856 from_kgid_munged(&init_user_ns, cred->egid), in dump_invalid_creds()
857 from_kgid_munged(&init_user_ns, cred->sgid), in dump_invalid_creds()
858 from_kgid_munged(&init_user_ns, cred->fsgid)); in dump_invalid_creds()
Dgroups.c46 gid = from_kgid_munged(user_ns, group_info->gid[i]); in groups_to_user()
Dtsacct.c63 stats->ac_gid = from_kgid_munged(user_ns, tcred->gid); in bacct_add_tsk()
Dsys.c824 rgid = from_kgid_munged(cred->user_ns, cred->gid); in SYSCALL_DEFINE3()
825 egid = from_kgid_munged(cred->user_ns, cred->egid); in SYSCALL_DEFINE3()
826 sgid = from_kgid_munged(cred->user_ns, cred->sgid); in SYSCALL_DEFINE3()
897 old_fsgid = from_kgid_munged(old->user_ns, old->fsgid); in __sys_setfsgid()
983 return from_kgid_munged(current_user_ns(), current_gid()); in SYSCALL_DEFINE0()
989 return from_kgid_munged(current_user_ns(), current_egid()); in SYSCALL_DEFINE0()
Dacct.c517 ac.ac_gid = from_kgid_munged(file->f_cred->user_ns, orig_cred->gid); in do_acct_process()
/linux-6.1.9/io_uring/
Dfdinfo.c33 seq_put_decimal_ull(m, "\n\tGid:\t", from_kgid_munged(uns, cred->gid)); in io_uring_show_cred()
34 seq_put_decimal_ull(m, "\t\t", from_kgid_munged(uns, cred->egid)); in io_uring_show_cred()
35 seq_put_decimal_ull(m, "\t\t", from_kgid_munged(uns, cred->sgid)); in io_uring_show_cred()
36 seq_put_decimal_ull(m, "\t\t", from_kgid_munged(uns, cred->fsgid)); in io_uring_show_cred()
41 from_kgid_munged(uns, gi->gid[g])); in io_uring_show_cred()
/linux-6.1.9/include/linux/
Duidgid.h129 extern gid_t from_kgid_munged(struct user_namespace *to, kgid_t gid);
171 static inline gid_t from_kgid_munged(struct user_namespace *to, kgid_t kgid) in from_kgid_munged() function
/linux-6.1.9/net/sunrpc/
Dauth_unix.c136 *p++ = cpu_to_be32(from_kgid_munged(userns, cred->cr_cred->fsgid)); in unx_marshal()
141 *p++ = cpu_to_be32(from_kgid_munged(userns, gi->gid[i])); in unx_marshal()
/linux-6.1.9/fs/proc/
Darray.c192 seq_put_decimal_ull(m, "\nGid:\t", from_kgid_munged(user_ns, cred->gid)); in task_state()
193 seq_put_decimal_ull(m, "\t", from_kgid_munged(user_ns, cred->egid)); in task_state()
194 seq_put_decimal_ull(m, "\t", from_kgid_munged(user_ns, cred->sgid)); in task_state()
195 seq_put_decimal_ull(m, "\t", from_kgid_munged(user_ns, cred->fsgid)); in task_state()
202 from_kgid_munged(user_ns, group_info->gid[g])); in task_state()
/linux-6.1.9/fs/
Dstat.c303 SET_GID(tmp.st_gid, from_kgid_munged(current_user_ns(), stat->gid)); in cp_old_stat()
390 SET_GID(tmp.st_gid, from_kgid_munged(current_user_ns(), stat->gid)); in cp_new_stat()
534 tmp.st_gid = from_kgid_munged(current_user_ns(), stat->gid); in cp_new_stat64()
607 tmp.stx_gid = from_kgid_munged(current_user_ns(), stat->gid); in cp_statx()
696 SET_GID(tmp.st_gid, from_kgid_munged(current_user_ns(), stat->gid)); in cp_compat_stat()
Dbinfmt_elf_fdpic.c659 NEW_AUX_ENT(AT_GID, (elf_addr_t) from_kgid_munged(cred->user_ns, cred->gid)); in create_elf_fdpic_tables()
660 NEW_AUX_ENT(AT_EGID, (elf_addr_t) from_kgid_munged(cred->user_ns, cred->egid)); in create_elf_fdpic_tables()
1361 SET_GID(psinfo->pr_gid, from_kgid_munged(cred->user_ns, cred->gid)); in fill_psinfo()
/linux-6.1.9/fs/quota/
Dkqid.c107 return from_kgid_munged(targ, kqid.gid); in from_kqid_munged()
/linux-6.1.9/include/net/
Dscm.h128 .gid = from_kgid_munged(current_ns, scm->creds.gid), in scm_recv()
/linux-6.1.9/drivers/connector/
Dcn_proc.c145 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()
/linux-6.1.9/fs/hfsplus/
Doptions.c231 from_kgid_munged(&init_user_ns, sbi->gid)); in hfsplus_show_options()
/linux-6.1.9/ipc/
Dutil.c591 out->gid = from_kgid_munged(current_user_ns(), in->gid); in kernel_to_ipc64_perm()
593 out->cgid = from_kgid_munged(current_user_ns(), in->cgid); in kernel_to_ipc64_perm()
/linux-6.1.9/arch/x86/kernel/
Dsys_ia32.c137 SET_GID(gid, from_kgid_munged(current_user_ns(), stat->gid)); in cp_stat64()
/linux-6.1.9/arch/sparc/kernel/
Dsys_sparc32.c74 err |= put_user(from_kgid_munged(current_user_ns(), stat->gid), &statbuf->st_gid); in cp_compat_stat64()
/linux-6.1.9/arch/s390/kernel/
Dcompat_linux.c138 tmp.st_gid = from_kgid_munged(current_user_ns(), stat->gid); in cp_stat64()
/linux-6.1.9/security/keys/
Dproc.c239 from_kgid_munged(seq_user_ns(m), key->gid), in proc_keys_show()
/linux-6.1.9/fs/autofs/
Dinode.c76 from_kgid_munged(&init_user_ns, root_inode->i_gid)); in autofs_show_options()
Dwaitq.c148 packet->gid = from_kgid_munged(user_ns, wq->gid); in autofs_notify_daemon()
/linux-6.1.9/fs/hfs/
Dsuper.c143 from_kgid_munged(&init_user_ns, sbi->s_gid)); in hfs_show_options()
/linux-6.1.9/fs/adfs/
Dsuper.c107 seq_printf(seq, ",gid=%u", from_kgid_munged(&init_user_ns, asb->s_gid)); in adfs_show_options()

123