/kernel/linux/linux-5.10/include/linux/ |
D | uidgid.h | 134 extern uid_t from_kuid(struct user_namespace *to, kuid_t uid); 141 return from_kuid(ns, uid) != (uid_t) -1; in kuid_has_mapping() 161 static inline uid_t from_kuid(struct user_namespace *to, kuid_t kuid) in from_kuid() function 173 uid_t uid = from_kuid(to, kuid); in from_kuid_munged()
|
/kernel/linux/linux-5.10/security/tomoyo/ |
D | audit.c | 171 from_kuid(&init_user_ns, current_uid()), in tomoyo_print_header() 173 from_kuid(&init_user_ns, current_euid()), in tomoyo_print_header() 175 from_kuid(&init_user_ns, current_suid()), in tomoyo_print_header() 177 from_kuid(&init_user_ns, current_fsuid()), in tomoyo_print_header() 200 from_kuid(&init_user_ns, stat->uid), in tomoyo_print_header() 209 from_kuid(&init_user_ns, stat->uid), in tomoyo_print_header()
|
D | condition.c | 841 value = from_kuid(&init_user_ns, current_uid()); in tomoyo_condition() 844 value = from_kuid(&init_user_ns, current_euid()); in tomoyo_condition() 847 value = from_kuid(&init_user_ns, current_suid()); in tomoyo_condition() 850 value = from_kuid(&init_user_ns, current_fsuid()); in tomoyo_condition() 999 value = from_kuid(&init_user_ns, stat->uid); in tomoyo_condition()
|
/kernel/linux/linux-5.10/security/integrity/ |
D | integrity_audit.c | 52 from_kuid(&init_user_ns, current_uid()), in integrity_audit_message() 53 from_kuid(&init_user_ns, audit_get_loginuid(current)), in integrity_audit_message()
|
/kernel/linux/linux-5.10/kernel/ |
D | audit.c | 1081 uid_t uid = from_kuid(&init_user_ns, current_uid()); in audit_log_common_recv_msg() 1477 sig_data->uid = from_kuid(&init_user_ns, audit_sig_uid); in audit_receive_msg() 1602 from_kuid(&init_user_ns, cred->uid), in audit_log_multicast() 1603 from_kuid(&init_user_ns, audit_get_loginuid(current)), in audit_log_multicast() 2150 uid_t auid = from_kuid(&init_user_ns, audit_get_loginuid(current)); in audit_log_session_info() 2245 from_kuid(&init_user_ns, audit_get_loginuid(current)), in audit_log_task_info() 2246 from_kuid(&init_user_ns, cred->uid), in audit_log_task_info() 2248 from_kuid(&init_user_ns, cred->euid), in audit_log_task_info() 2249 from_kuid(&init_user_ns, cred->suid), in audit_log_task_info() 2250 from_kuid(&init_user_ns, cred->fsuid), in audit_log_task_info() [all …]
|
D | user_namespace.c | 406 uid_t from_kuid(struct user_namespace *targ, kuid_t kuid) in from_kuid() function 411 EXPORT_SYMBOL(from_kuid); 434 uid = from_kuid(targ, kuid); in from_kuid_munged() 589 lower = from_kuid(lower_ns, KUIDT_INIT(extent->lower_first)); in uid_m_show()
|
D | auditsc.c | 998 from_kuid(&init_user_ns, auid), in audit_log_pid_context() 999 from_kuid(&init_user_ns, uid), sessionid); in audit_log_pid_context() 1214 from_kuid(&init_user_ns, name->fcap.rootid)); in audit_log_fcaps() 1285 from_kuid(&init_user_ns, context->ipc.uid), in show_special() 1439 from_kuid(&init_user_ns, n->uid), in audit_log_name() 1582 from_kuid(&init_user_ns, in audit_log_exit() 2669 from_kuid(&init_user_ns, auid), in audit_log_task() 2670 from_kuid(&init_user_ns, uid), in audit_log_task()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/ |
D | fault.c | 205 from_kuid(&init_user_ns, current_uid())); in bad_kernel_fault() 215 from_kuid(&init_user_ns, current_uid())); in bad_kernel_fault() 316 from_kuid(&init_user_ns, current_uid())); in sanity_check_fault()
|
/kernel/linux/linux-5.10/drivers/tty/ |
D | tty_audit.c | 65 uid_t uid = from_kuid(&init_user_ns, task_uid(current)); in tty_audit_log() 66 uid_t loginuid = from_kuid(&init_user_ns, audit_get_loginuid(current)); in tty_audit_log()
|
/kernel/linux/linux-5.10/net/netlabel/ |
D | netlabel_user.c | 98 from_kuid(&init_user_ns, audit_info->loginuid), in netlbl_audit_start_common()
|
/kernel/linux/linux-5.10/fs/nfs_common/ |
D | nfsacl.c | 61 *p++ = htonl(from_kuid(&init_user_ns, nfsacl_desc->uid)); in xdr_nfsace_encode() 67 *p++ = htonl(from_kuid(&init_user_ns, entry->e_uid)); in xdr_nfsace_encode()
|
/kernel/linux/linux-5.10/mm/ |
D | lowmem_dbg.c | 75 task->pid, from_kuid(&init_user_ns, task_uid(task)), in tasks_dump()
|
D | oom_kill.c | 404 task->pid, from_kuid(&init_user_ns, task_uid(task)), in dump_task() 450 from_kuid(&init_user_ns, task_uid(victim))); in dump_oom_summary() 922 from_kuid(&init_user_ns, task_uid(victim)), in __oom_kill_process()
|
/kernel/linux/linux-5.10/fs/quota/ |
D | kqid.c | 72 return from_kuid(targ, kqid.uid); in from_kqid()
|
/kernel/linux/linux-5.10/fs/orangefs/ |
D | orangefs-cache.c | 142 new_op->upcall.uid = from_kuid(&init_user_ns, in op_alloc()
|
D | orangefs-utils.c | 145 attrs->owner = from_kuid(&init_user_ns, inode->i_uid); in copy_attributes_from_inode() 428 new_op->upcall.uid = from_kuid(&init_user_ns, orangefs_inode->attr_uid); in orangefs_inode_setattr()
|
/kernel/linux/linux-5.10/fs/nfsd/ |
D | flexfilelayout.c | 53 u = from_kuid(&init_user_ns, inode->i_uid) + 1; in nfsd4_ff_proc_layoutget()
|
D | flexfilelayoutxdr.c | 35 uid.len = sprintf(uid.buf, "%u", from_kuid(&init_user_ns, fl->uid)); in nfsd4_ff_encode_layoutget()
|
/kernel/linux/linux-5.10/security/keys/ |
D | persistent.c | 86 index_key.desc_len = sprintf(buf, "_persistent.%u", from_kuid(ns, uid)); in key_get_persistent()
|
/kernel/linux/linux-5.10/fs/coda/ |
D | coda_linux.c | 188 vattr->va_uid = (vuid_t) from_kuid(&init_user_ns, iattr->ia_uid); in coda_iattr_to_vattr()
|
/kernel/linux/linux-5.10/fs/9p/ |
D | fid.c | 54 dentry, dentry, from_kuid(&init_user_ns, uid), in v9fs_fid_find()
|
/kernel/linux/linux-5.10/fs/ext2/ |
D | acl.c | 113 from_kuid(&init_user_ns, acl_e->e_uid)); in ext2_acl_to_disk()
|
/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_acl.c | 111 from_kuid(&init_user_ns, acl_e->e_uid)); in xfs_acl_to_disk()
|
/kernel/linux/linux-5.10/security/ |
D | commoncap.c | 330 if (from_kuid(ns, kroot) == 0) in rootid_owns_currentns() 415 mappedroot = from_kuid(current_user_ns(), kroot); in cap_inode_getsecurity() 524 nsrootid = from_kuid(fs_ns, rootid); in cap_convert_nscap()
|
/kernel/linux/linux-5.10/security/apparmor/ |
D | file.c | 60 from_kuid(&init_user_ns, fsuid)); in file_audit_cb() 62 from_kuid(&init_user_ns, aad(sa)->fs.ouid)); in file_audit_cb()
|