Home
last modified time | relevance | path

Searched refs:from_kuid (Results 1 – 25 of 92) sorted by relevance

1234

/linux-6.1.9/include/linux/
Duidgid.h126 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()
Dmnt_idmapping.h205 uid = from_kuid(fs_userns, kuid); in make_vfsuid()
282 uid = from_kuid(mnt_userns, AS_KUIDT(vfsuid)); in from_vfsuid()
/linux-6.1.9/security/tomoyo/
Daudit.c171 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()
Dcondition.c841 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-6.1.9/security/integrity/
Dintegrity_audit.c52 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()
/linux-6.1.9/Documentation/filesystems/
Didmappings.rst215 from_kuid(u20000:k10000:r10000, k11000) = u21000
224 from_kuid(u0:k10000:r10000, k11000) = u1000
267 from_kuid(u0:k10000:r10000, k11000) = u1000
288 from_kuid(u0:k20000:r10000, k21000) = u1000
317 from_kuid(u0:k10000:r10000, k11000) = u1000
320 from_kuid(u20000:k0:r10000, u1000) = k21000
334 from_kuid(idmapping, kuid)
397 ``from_kuid()``::
399 from_kuid(u0:k0:r4294967295, k1000) = u1000
421 from_kuid(u0:k20000:r10000, k11000) = u-1
[all …]
/linux-6.1.9/kernel/
Daudit.c1079 uid_t uid = from_kuid(&init_user_ns, current_uid()); in audit_log_common_recv_msg()
1475 sig_data->uid = from_kuid(&init_user_ns, audit_sig_uid); in audit_receive_msg()
1600 from_kuid(&init_user_ns, cred->uid), in audit_log_multicast()
1601 from_kuid(&init_user_ns, audit_get_loginuid(current)), in audit_log_multicast()
2151 uid_t auid = from_kuid(&init_user_ns, audit_get_loginuid(current)); in audit_log_session_info()
2246 from_kuid(&init_user_ns, audit_get_loginuid(current)), in audit_log_task_info()
2247 from_kuid(&init_user_ns, cred->uid), in audit_log_task_info()
2249 from_kuid(&init_user_ns, cred->euid), in audit_log_task_info()
2250 from_kuid(&init_user_ns, cred->suid), in audit_log_task_info()
2251 from_kuid(&init_user_ns, cred->fsuid), in audit_log_task_info()
[all …]
Dauditsc.c1099 from_kuid(&init_user_ns, auid), in audit_log_pid_context()
1100 from_kuid(&init_user_ns, uid), sessionid); in audit_log_pid_context()
1315 from_kuid(&init_user_ns, name->fcap.rootid)); in audit_log_fcaps()
1387 from_kuid(&init_user_ns, context->ipc.uid), in show_special()
1553 from_kuid(&init_user_ns, n->uid), in audit_log_name()
1661 from_kuid(&init_user_ns, cred->uid), in audit_log_uring()
1663 from_kuid(&init_user_ns, cred->euid), in audit_log_uring()
1664 from_kuid(&init_user_ns, cred->suid), in audit_log_uring()
1665 from_kuid(&init_user_ns, cred->fsuid), in audit_log_uring()
1741 from_kuid(&init_user_ns, in audit_log_exit()
[all …]
Duser_namespace.c427 uid_t from_kuid(struct user_namespace *targ, kuid_t kuid) in from_kuid() function
432 EXPORT_SYMBOL(from_kuid);
455 uid = from_kuid(targ, kuid); in from_kuid_munged()
610 lower = from_kuid(lower_ns, KUIDT_INIT(extent->lower_first)); in uid_m_show()
/linux-6.1.9/drivers/tty/
Dtty_audit.c66 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-6.1.9/arch/powerpc/mm/
Dfault.c206 from_kuid(&init_user_ns, current_uid())); in bad_kernel_fault()
220 from_kuid(&init_user_ns, current_uid())); in bad_kernel_fault()
317 from_kuid(&init_user_ns, current_uid())); in sanity_check_fault()
/linux-6.1.9/net/netlabel/
Dnetlabel_user.c98 from_kuid(&init_user_ns, audit_info->loginuid), in netlbl_audit_start_common()
/linux-6.1.9/fs/quota/
Dkqid.c72 return from_kuid(targ, kqid.uid); in from_kqid()
/linux-6.1.9/fs/nfs_common/
Dnfsacl.c61 *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-6.1.9/fs/orangefs/
Dorangefs-cache.c142 new_op->upcall.uid = from_kuid(&init_user_ns, in op_alloc()
Dorangefs-utils.c145 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-6.1.9/fs/nfsd/
Dflexfilelayout.c53 u = from_kuid(&init_user_ns, inode->i_uid) + 1; in nfsd4_ff_proc_layoutget()
Dflexfilelayoutxdr.c35 uid.len = sprintf(uid.buf, "%u", from_kuid(&init_user_ns, fl->uid)); in nfsd4_ff_encode_layoutget()
/linux-6.1.9/security/keys/
Dpersistent.c86 index_key.desc_len = sprintf(buf, "_persistent.%u", from_kuid(ns, uid)); in key_get_persistent()
/linux-6.1.9/mm/
Doom_kill.c403 task->pid, from_kuid(&init_user_ns, task_uid(task)), in dump_task()
449 from_kuid(&init_user_ns, task_uid(victim))); in dump_oom_summary()
954 from_kuid(&init_user_ns, task_uid(victim)), in __oom_kill_process()
/linux-6.1.9/fs/ksmbd/
Dsmbacl.h223 return from_kuid(&init_user_ns, vfsuid_into_kuid(vfsuid)); in posix_acl_uid_translate()
/linux-6.1.9/fs/coda/
Dcoda_linux.c187 vattr->va_uid = (vuid_t) from_kuid(&init_user_ns, iattr->ia_uid); in coda_iattr_to_vattr()
/linux-6.1.9/fs/
Dposix_acl.c760 entry->e_id = cpu_to_le32(from_kuid(&init_user_ns, in posix_acl_getxattr_idmapped_mnt()
793 entry->e_id = cpu_to_le32(from_kuid(to, uid)); in posix_acl_fix_xattr_userns()
1101 cpu_to_le32(from_kuid(user_ns, acl_e->e_uid)); in posix_acl_to_xattr()
/linux-6.1.9/security/
Dcommoncap.c339 if (from_kuid(ns, kroot) == 0) in rootid_owns_currentns()
428 mappedroot = from_kuid(current_user_ns(), kroot); in cap_inode_getsecurity()
570 nsrootid = from_kuid(fs_ns, rootid); in cap_convert_nscap()
/linux-6.1.9/fs/ext2/
Dacl.c113 from_kuid(&init_user_ns, acl_e->e_uid)); in ext2_acl_to_disk()

1234