/linux/include/linux/ |
A D | uidgid.h | 126 extern uid_t from_kuid(struct user_namespace *to, kuid_t uid); 133 return from_kuid(ns, uid) != (uid_t) -1; in kuid_has_mapping() 153 static inline uid_t from_kuid(struct user_namespace *to, kuid_t kuid) in from_kuid() function 165 uid_t uid = from_kuid(to, kuid); in from_kuid_munged()
|
/linux/security/tomoyo/ |
A 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()
|
A 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()
|
/linux/Documentation/filesystems/ |
A D | idmappings.rst | 224 from_kuid(u0:k10000:r10000, k11000) = u1000 317 from_kuid(u0:k10000:r10000, k11000) = u1000 320 from_kuid(u20000:k0:r10000, u1000) = k21000 334 from_kuid(idmapping, kuid) 392 ``from_kuid()``:: 467 from_kuid(u0:k10000:r10000, k1000) = u-1 488 from_kuid(u0:k10000:r10000, k1000) = u-1 634 from_kuid(filesystem, kid) = uid 646 from_kuid(mount, kid) = uid 988 from_kuid(mount-idmapping, kid) = uid [all …]
|
/linux/security/integrity/ |
A D | integrity_audit.c | 50 from_kuid(&init_user_ns, current_uid()), in integrity_audit_message() 51 from_kuid(&init_user_ns, audit_get_loginuid(current)), in integrity_audit_message()
|
/linux/kernel/ |
A D | audit.c | 1057 uid_t uid = from_kuid(&init_user_ns, current_uid()); in audit_log_common_recv_msg() 1453 sig_data->uid = from_kuid(&init_user_ns, audit_sig_uid); in audit_receive_msg() 1564 from_kuid(&init_user_ns, cred->uid), in audit_log_multicast() 1565 from_kuid(&init_user_ns, audit_get_loginuid(current)), in audit_log_multicast() 2209 from_kuid(&init_user_ns, cred->uid), in audit_log_task_info() 2211 from_kuid(&init_user_ns, cred->euid), in audit_log_task_info() 2212 from_kuid(&init_user_ns, cred->suid), in audit_log_task_info() 2213 from_kuid(&init_user_ns, cred->fsuid), in audit_log_task_info() 2285 uid = from_kuid(&init_user_ns, task_uid(current)); in audit_log_set_loginuid() 2286 oldloginuid = from_kuid(&init_user_ns, koldloginuid); in audit_log_set_loginuid() [all …]
|
A D | auditsc.c | 1115 from_kuid(&init_user_ns, auid), in audit_log_pid_context() 1116 from_kuid(&init_user_ns, uid), sessionid); in audit_log_pid_context() 1356 from_kuid(&init_user_ns, context->ipc.uid), in show_special() 1517 from_kuid(&init_user_ns, n->uid), in audit_log_name() 1625 from_kuid(&init_user_ns, cred->uid), in audit_log_uring() 1627 from_kuid(&init_user_ns, cred->euid), in audit_log_uring() 1628 from_kuid(&init_user_ns, cred->suid), in audit_log_uring() 1629 from_kuid(&init_user_ns, cred->fsuid), in audit_log_uring() 1705 from_kuid(&init_user_ns, in audit_log_exit() 2902 from_kuid(&init_user_ns, auid), in audit_log_task() [all …]
|
A D | user_namespace.c | 410 uid_t from_kuid(struct user_namespace *targ, kuid_t kuid) in from_kuid() function 415 EXPORT_SYMBOL(from_kuid); 438 uid = from_kuid(targ, kuid); in from_kuid_munged() 593 lower = from_kuid(lower_ns, KUIDT_INIT(extent->lower_first)); in uid_m_show()
|
/linux/arch/powerpc/mm/ |
A D | fault.c | 206 from_kuid(&init_user_ns, current_uid())); in bad_kernel_fault() 220 from_kuid(&init_user_ns, current_uid())); in bad_kernel_fault() 313 from_kuid(&init_user_ns, current_uid())); in sanity_check_fault()
|
/linux/drivers/tty/ |
A D | tty_audit.c | 66 uid_t uid = from_kuid(&init_user_ns, task_uid(current)); in tty_audit_log() 67 uid_t loginuid = from_kuid(&init_user_ns, audit_get_loginuid(current)); in tty_audit_log()
|
/linux/net/netlabel/ |
A D | netlabel_user.c | 98 from_kuid(&init_user_ns, audit_info->loginuid), in netlbl_audit_start_common()
|
/linux/fs/nfs_common/ |
A 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()
|
/linux/fs/quota/ |
A D | kqid.c | 72 return from_kuid(targ, kqid.uid); in from_kqid()
|
/linux/fs/orangefs/ |
A D | orangefs-cache.c | 142 new_op->upcall.uid = from_kuid(&init_user_ns, in op_alloc()
|
A 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()
|
/linux/mm/ |
A D | oom_kill.c | 406 task->pid, from_kuid(&init_user_ns, task_uid(task)), in dump_task() 452 from_kuid(&init_user_ns, task_uid(victim))); in dump_oom_summary() 900 from_kuid(&init_user_ns, task_uid(victim)), in __oom_kill_process()
|
/linux/fs/nfsd/ |
A D | flexfilelayout.c | 53 u = from_kuid(&init_user_ns, inode->i_uid) + 1; in nfsd4_ff_proc_layoutget()
|
A D | flexfilelayoutxdr.c | 35 uid.len = sprintf(uid.buf, "%u", from_kuid(&init_user_ns, fl->uid)); in nfsd4_ff_encode_layoutget()
|
/linux/security/keys/ |
A D | persistent.c | 86 index_key.desc_len = sprintf(buf, "_persistent.%u", from_kuid(ns, uid)); in key_get_persistent()
|
/linux/fs/ksmbd/ |
A D | smbacl.h | 222 return from_kuid(&init_user_ns, kuid); in posix_acl_uid_translate()
|
/linux/fs/coda/ |
A D | coda_linux.c | 187 vattr->va_uid = (vuid_t) from_kuid(&init_user_ns, iattr->ia_uid); in coda_iattr_to_vattr()
|
/linux/security/ |
A D | commoncap.c | 338 if (from_kuid(ns, kroot) == 0) in rootid_owns_currentns() 425 mappedroot = from_kuid(current_user_ns(), kroot); in cap_inode_getsecurity() 565 nsrootid = from_kuid(fs_ns, rootid); in cap_convert_nscap()
|
/linux/fs/cifs/ |
A D | cifs_debug.c | 199 from_kuid(&init_user_ns, cfile->uid), in cifs_debug_files_proc_show() 415 from_kuid(&init_user_ns, ses->linux_uid), in cifs_debug_data_proc_show() 416 from_kuid(&init_user_ns, ses->cred_uid)); in cifs_debug_data_proc_show()
|
/linux/fs/ext2/ |
A D | acl.c | 113 from_kuid(&init_user_ns, acl_e->e_uid)); in ext2_acl_to_disk()
|
/linux/security/apparmor/ |
A D | file.c | 62 from_kuid(&init_user_ns, fsuid)); in file_audit_cb() 64 from_kuid(&init_user_ns, aad(sa)->fs.ouid)); in file_audit_cb()
|