Home
last modified time | relevance | path

Searched refs:from_kuid_munged (Results 1 – 25 of 104) sorted by relevance

12345

/kernel/linux/linux-5.10/kernel/
Duid16.c70 ruid = high2lowuid(from_kuid_munged(cred->user_ns, cred->uid)); in SYSCALL_DEFINE3()
71 euid = high2lowuid(from_kuid_munged(cred->user_ns, cred->euid)); in SYSCALL_DEFINE3()
72 suid = high2lowuid(from_kuid_munged(cred->user_ns, cred->suid)); in SYSCALL_DEFINE3()
205 return high2lowuid(from_kuid_munged(current_user_ns(), current_uid())); in SYSCALL_DEFINE0()
210 return high2lowuid(from_kuid_munged(current_user_ns(), current_euid())); in SYSCALL_DEFINE0()
Dcred.c816 from_kuid_munged(&init_user_ns, cred->uid), in dump_invalid_creds()
817 from_kuid_munged(&init_user_ns, cred->euid), in dump_invalid_creds()
818 from_kuid_munged(&init_user_ns, cred->suid), in dump_invalid_creds()
819 from_kuid_munged(&init_user_ns, cred->fsuid)); in dump_invalid_creds()
Dtsacct.c56 stats->ac_uid = from_kuid_munged(user_ns, tcred->uid); in bacct_add_tsk()
/kernel/linux/linux-5.10/net/ax25/
Dax25_uid.c81 res = from_kuid_munged(current_user_ns(), ax25_uid->uid); in ax25_uid_ioctl()
175 from_kuid_munged(seq_user_ns(seq), pt->uid), in ax25_uid_seq_show()
/kernel/linux/linux-5.10/fs/cifs/
Dcifs_spnego.c157 from_kuid_munged(&init_user_ns, sesInfo->linux_uid)); in cifs_get_spnego_key()
161 from_kuid_munged(&init_user_ns, sesInfo->cred_uid)); in cifs_get_spnego_key()
/kernel/linux/linux-5.10/include/linux/
Duidgid.h136 extern uid_t from_kuid_munged(struct user_namespace *to, kuid_t uid);
171 static inline uid_t from_kuid_munged(struct user_namespace *to, kuid_t kuid) in from_kuid_munged() function
/kernel/linux/linux-5.10/fs/
Dstat.c248 SET_UID(tmp.st_uid, from_kuid_munged(current_user_ns(), stat->uid)); in cp_old_stat()
335 SET_UID(tmp.st_uid, from_kuid_munged(current_user_ns(), stat->uid)); in cp_new_stat()
479 tmp.st_uid = from_kuid_munged(current_user_ns(), stat->uid); in cp_new_stat64()
552 tmp.stx_uid = from_kuid_munged(current_user_ns(), stat->uid); in cp_statx()
632 SET_UID(tmp.st_uid, from_kuid_munged(current_user_ns(), stat->uid)); in cp_compat_stat()
/kernel/linux/linux-5.10/fs/quota/
Dnetlink.c81 from_kuid_munged(&init_user_ns, current_uid()), in quota_send_warning()
Dkqid.c105 return from_kuid_munged(targ, kqid.uid); in from_kqid_munged()
/kernel/linux/linux-5.10/security/keys/
Dproc.c238 from_kuid_munged(seq_user_ns(m), key->uid), in proc_keys_show()
313 from_kuid_munged(seq_user_ns(m), user->uid), in proc_key_users_show()
/kernel/linux/linux-5.10/fs/proc/
Darray.c192 seq_put_decimal_ull(m, "\nUid:\t", from_kuid_munged(user_ns, cred->uid)); in task_state()
193 seq_put_decimal_ull(m, "\t", from_kuid_munged(user_ns, cred->euid)); in task_state()
194 seq_put_decimal_ull(m, "\t", from_kuid_munged(user_ns, cred->suid)); in task_state()
195 seq_put_decimal_ull(m, "\t", from_kuid_munged(user_ns, cred->fsuid)); in task_state()
/kernel/linux/linux-5.10/net/sctp/
Dproc.c182 from_kuid_munged(seq_user_ns(seq), sock_i_uid(sk)), in sctp_eps_seq_show()
272 from_kuid_munged(seq_user_ns(seq), sock_i_uid(sk)), in sctp_assocs_seq_show()
/kernel/linux/linux-5.10/include/net/
Dscm.h127 .uid = from_kuid_munged(current_ns, scm->creds.uid), in scm_recv()
/kernel/linux/linux-5.10/drivers/connector/
Dcn_proc.c142 ev->event_data.id.r.ruid = from_kuid_munged(&init_user_ns, cred->uid); in proc_id_connector()
143 ev->event_data.id.e.euid = from_kuid_munged(&init_user_ns, cred->euid); in proc_id_connector()
/kernel/linux/linux-5.10/fs/hfsplus/
Doptions.c230 from_kuid_munged(&init_user_ns, sbi->uid), in hfsplus_show_options()
/kernel/linux/linux-5.10/fs/9p/
Dv9fs.c114 from_kuid_munged(&init_user_ns, v9ses->dfltuid)); in v9fs_show_options()
145 from_kuid_munged(&init_user_ns, v9ses->uid)); in v9fs_show_options()
/kernel/linux/linux-5.10/net/netfilter/
Dnf_log_common.c142 from_kuid_munged(&init_user_ns, cred->fsuid), in nf_log_dump_sk_uid_gid()
/kernel/linux/linux-5.10/net/appletalk/
Datalk_proc.c184 from_kuid_munged(seq_user_ns(seq), sock_i_uid(s))); in atalk_seq_socket_show()
/kernel/linux/linux-5.10/net/sunrpc/
Dauth_unix.c127 *p++ = cpu_to_be32(from_kuid_munged(userns, cred->cr_cred->fsuid)); in unx_marshal()
/kernel/linux/linux-5.10/net/llc/
Dllc_proc.c154 from_kuid_munged(seq_user_ns(seq), sock_i_uid(sk)), in llc_seq_socket_show()
/kernel/linux/linux-5.10/ipc/
Dutil.c556 out->uid = from_kuid_munged(current_user_ns(), in->uid); in kernel_to_ipc64_perm()
558 out->cuid = from_kuid_munged(current_user_ns(), in->cuid); in kernel_to_ipc64_perm()
/kernel/linux/linux-5.10/net/xdp/
Dxsk_diag.c119 from_kuid_munged(user_ns, sock_i_uid(sk)))) in xsk_diag_fill()
/kernel/linux/linux-5.10/arch/x86/kernel/
Dsys_ia32.c136 SET_UID(uid, from_kuid_munged(current_user_ns(), stat->uid)); in cp_stat64()
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dsys_sparc32.c73 err |= put_user(from_kuid_munged(current_user_ns(), stat->uid), &statbuf->st_uid); in cp_compat_stat64()
/kernel/linux/linux-5.10/net/packet/
Ddiag.c156 from_kuid_munged(user_ns, sock_i_uid(sk)))) in sk_diag_fill()

12345