Home
last modified time | relevance | path

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

12345

/Linux-v6.6/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.c852 from_kuid_munged(&init_user_ns, cred->uid), in dump_invalid_creds()
853 from_kuid_munged(&init_user_ns, cred->euid), in dump_invalid_creds()
854 from_kuid_munged(&init_user_ns, cred->suid), in dump_invalid_creds()
855 from_kuid_munged(&init_user_ns, cred->fsuid)); in dump_invalid_creds()
Dtsacct.c62 stats->ac_uid = from_kuid_munged(user_ns, tcred->uid); in bacct_add_tsk()
/Linux-v6.6/io_uring/
Dfdinfo.c28 seq_put_decimal_ull(m, "\tUid:\t", from_kuid_munged(uns, cred->uid)); in io_uring_show_cred()
29 seq_put_decimal_ull(m, "\t\t", from_kuid_munged(uns, cred->euid)); in io_uring_show_cred()
30 seq_put_decimal_ull(m, "\t\t", from_kuid_munged(uns, cred->suid)); in io_uring_show_cred()
31 seq_put_decimal_ull(m, "\t\t", from_kuid_munged(uns, cred->fsuid)); in io_uring_show_cred()
/Linux-v6.6/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()
/Linux-v6.6/fs/smb/client/
Dcifs_spnego.c145 from_kuid_munged(&init_user_ns, sesInfo->linux_uid)); in cifs_get_spnego_key()
149 from_kuid_munged(&init_user_ns, sesInfo->cred_uid)); in cifs_get_spnego_key()
/Linux-v6.6/include/linux/
Duidgid.h128 extern uid_t from_kuid_munged(struct user_namespace *to, kuid_t uid);
163 static inline uid_t from_kuid_munged(struct user_namespace *to, kuid_t kuid) in from_kuid_munged() function
/Linux-v6.6/fs/
Dstat.c330 SET_UID(tmp.st_uid, from_kuid_munged(current_user_ns(), stat->uid)); in cp_old_stat()
411 SET_UID(tmp.st_uid, from_kuid_munged(current_user_ns(), stat->uid)); in cp_new_stat()
555 tmp.st_uid = from_kuid_munged(current_user_ns(), stat->uid); in cp_new_stat64()
630 tmp.stx_uid = from_kuid_munged(current_user_ns(), stat->uid); in cp_statx()
724 SET_UID(tmp.st_uid, from_kuid_munged(current_user_ns(), stat->uid)); in cp_compat_stat()
Dnsfs.c211 uid = from_kuid_munged(current_user_ns(), user_ns->owner); in ns_ioctl()
/Linux-v6.6/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()
/Linux-v6.6/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()
/Linux-v6.6/fs/proc/
Darray.c189 seq_put_decimal_ull(m, "\nUid:\t", from_kuid_munged(user_ns, cred->uid)); in task_state()
190 seq_put_decimal_ull(m, "\t", from_kuid_munged(user_ns, cred->euid)); in task_state()
191 seq_put_decimal_ull(m, "\t", from_kuid_munged(user_ns, cred->suid)); in task_state()
192 seq_put_decimal_ull(m, "\t", from_kuid_munged(user_ns, cred->fsuid)); in task_state()
/Linux-v6.6/net/sctp/
Dproc.c180 from_kuid_munged(seq_user_ns(seq), sock_i_uid(sk)), in sctp_eps_seq_show()
270 from_kuid_munged(seq_user_ns(seq), sock_i_uid(sk)), in sctp_assocs_seq_show()
/Linux-v6.6/fs/hfsplus/
Doptions.c230 from_kuid_munged(&init_user_ns, sbi->uid), in hfsplus_show_options()
/Linux-v6.6/fs/9p/
Dv9fs.c107 from_kuid_munged(&init_user_ns, v9ses->dfltuid)); in v9fs_show_options()
138 from_kuid_munged(&init_user_ns, v9ses->uid)); in v9fs_show_options()
/Linux-v6.6/net/sunrpc/
Dauth_unix.c135 *p++ = cpu_to_be32(from_kuid_munged(userns, cred->cr_cred->fsuid)); in unx_marshal()
/Linux-v6.6/include/net/
Dscm.h176 .uid = from_kuid_munged(current_ns, scm->creds.uid), in __scm_recv_common()
/Linux-v6.6/net/appletalk/
Datalk_proc.c184 from_kuid_munged(seq_user_ns(seq), sock_i_uid(s))); in atalk_seq_socket_show()
/Linux-v6.6/drivers/connector/
Dcn_proc.c190 ev->event_data.id.r.ruid = from_kuid_munged(&init_user_ns, cred->uid); in proc_id_connector()
191 ev->event_data.id.e.euid = from_kuid_munged(&init_user_ns, cred->euid); in proc_id_connector()
/Linux-v6.6/net/llc/
Dllc_proc.c154 from_kuid_munged(seq_user_ns(seq), sock_i_uid(sk)), in llc_seq_socket_show()
/Linux-v6.6/ipc/
Dutil.c590 out->uid = from_kuid_munged(current_user_ns(), in->uid); in kernel_to_ipc64_perm()
592 out->cuid = from_kuid_munged(current_user_ns(), in->cuid); in kernel_to_ipc64_perm()
/Linux-v6.6/net/xdp/
Dxsk_diag.c122 from_kuid_munged(user_ns, sock_i_uid(sk)))) in xsk_diag_fill()
/Linux-v6.6/arch/x86/kernel/
Dsys_ia32.c136 SET_UID(uid, from_kuid_munged(current_user_ns(), stat->uid)); in cp_stat64()
/Linux-v6.6/arch/sparc/kernel/
Dsys_sparc32.c73 err |= put_user(from_kuid_munged(current_user_ns(), stat->uid), &statbuf->st_uid); in cp_compat_stat64()

12345