/Linux-v6.6/kernel/ |
D | uid16.c | 70 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()
|
D | cred.c | 852 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()
|
D | tsacct.c | 62 stats->ac_uid = from_kuid_munged(user_ns, tcred->uid); in bacct_add_tsk()
|
/Linux-v6.6/io_uring/ |
D | fdinfo.c | 28 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/ |
D | ax25_uid.c | 81 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/ |
D | cifs_spnego.c | 145 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/ |
D | uidgid.h | 128 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/ |
D | stat.c | 330 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()
|
D | nsfs.c | 211 uid = from_kuid_munged(current_user_ns(), user_ns->owner); in ns_ioctl()
|
/Linux-v6.6/fs/quota/ |
D | netlink.c | 81 from_kuid_munged(&init_user_ns, current_uid()), in quota_send_warning()
|
D | kqid.c | 105 return from_kuid_munged(targ, kqid.uid); in from_kqid_munged()
|
/Linux-v6.6/security/keys/ |
D | proc.c | 238 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/ |
D | array.c | 189 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/ |
D | proc.c | 180 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/ |
D | options.c | 230 from_kuid_munged(&init_user_ns, sbi->uid), in hfsplus_show_options()
|
/Linux-v6.6/fs/9p/ |
D | v9fs.c | 107 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/ |
D | auth_unix.c | 135 *p++ = cpu_to_be32(from_kuid_munged(userns, cred->cr_cred->fsuid)); in unx_marshal()
|
/Linux-v6.6/include/net/ |
D | scm.h | 176 .uid = from_kuid_munged(current_ns, scm->creds.uid), in __scm_recv_common()
|
/Linux-v6.6/net/appletalk/ |
D | atalk_proc.c | 184 from_kuid_munged(seq_user_ns(seq), sock_i_uid(s))); in atalk_seq_socket_show()
|
/Linux-v6.6/drivers/connector/ |
D | cn_proc.c | 190 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/ |
D | llc_proc.c | 154 from_kuid_munged(seq_user_ns(seq), sock_i_uid(sk)), in llc_seq_socket_show()
|
/Linux-v6.6/ipc/ |
D | util.c | 590 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/ |
D | xsk_diag.c | 122 from_kuid_munged(user_ns, sock_i_uid(sk)))) in xsk_diag_fill()
|
/Linux-v6.6/arch/x86/kernel/ |
D | sys_ia32.c | 136 SET_UID(uid, from_kuid_munged(current_user_ns(), stat->uid)); in cp_stat64()
|
/Linux-v6.6/arch/sparc/kernel/ |
D | sys_sparc32.c | 73 err |= put_user(from_kuid_munged(current_user_ns(), stat->uid), &statbuf->st_uid); in cp_compat_stat64()
|