Home
last modified time | relevance | path

Searched refs:make_kuid (Results 1 – 25 of 109) sorted by relevance

12345

/kernel/linux/linux-5.10/net/netfilter/
Dxt_owner.c37 kuid_t uid_min = make_kuid(net->user_ns, info->uid_min); in owner_check()
38 kuid_t uid_max = make_kuid(net->user_ns, info->uid_max); in owner_check()
85 kuid_t uid_min = make_kuid(net->user_ns, info->uid_min); in owner_mt()
86 kuid_t uid_max = make_kuid(net->user_ns, info->uid_max); in owner_mt()
Dxt_quota2.c184 proc_set_user(p, make_kuid(&init_user_ns, quota_list_uid), in q2_get_counter()
/kernel/linux/linux-5.10/include/linux/
Duidgid.h127 extern kuid_t make_kuid(struct user_namespace *from, uid_t uid);
147 static inline kuid_t make_kuid(struct user_namespace *from, uid_t uid) in make_kuid() function
Dquota.h105 kqid.uid = make_kuid(from, qid); in make_kqid()
/kernel/linux/linux-5.10/security/
Dcommoncap.c409 kroot = make_kuid(fs_ns, root); in cap_inode_getsecurity()
481 return make_kuid(task_ns, rootid); in rootid_from_xattr()
621 rootkuid = make_kuid(fs_ns, 0); in get_vfs_caps_from_disk()
637 rootkuid = make_kuid(fs_ns, le32_to_cpu(nscaps->rootid)); in get_vfs_caps_from_disk()
844 root_uid = make_kuid(new->user_ns, 0); in cap_bprm_creds_from_file()
1020 kuid_t root_uid = make_kuid(old->user_ns, 0); in cap_emulate_setxuid()
1075 kuid_t root_uid = make_kuid(old->user_ns, 0); in cap_task_fix_setuid()
/kernel/linux/linux-5.10/block/
Dioprio.c136 uid = make_kuid(current_user_ns(), who); in SYSCALL_DEFINE3()
231 uid = make_kuid(current_user_ns(), who); in SYSCALL_DEFINE2()
/kernel/linux/linux-5.10/net/
Dsysctl_net.c64 ns_root_uid = make_kuid(net->user_ns, 0); in net_ctl_set_ownership()
/kernel/linux/linux-5.10/security/safesetid/
Dsecurityfs.c54 rule->src_id.uid = make_kuid(file->f_cred->user_ns, parsed_parent); in parse_policy_line()
55 rule->dst_id.uid = make_kuid(file->f_cred->user_ns, parsed_child); in parse_policy_line()
/kernel/linux/linux-5.10/net/core/
Dscm.c48 kuid_t uid = make_kuid(cred->user_ns, creds->uid); in scm_check_creds()
186 uid = make_kuid(current_user_ns(), creds.uid); in __scm_send()
/kernel/linux/linux-5.10/fs/nfsd/
Dflexfilelayout.c54 fl->uid = make_kuid(&init_user_ns, u); in nfsd4_ff_proc_layoutget()
/kernel/linux/linux-5.10/security/keys/
Dpersistent.c140 uid = make_kuid(ns, _uid); in keyctl_get_persistent()
/kernel/linux/linux-5.10/net/ax25/
Dax25_uid.c94 sax25_kuid = make_kuid(current_user_ns(), sax->sax25_uid); in ax25_uid_ioctl()
/kernel/linux/linux-5.10/kernel/
Dsys.c238 uid = make_kuid(cred->user_ns, who); in SYSCALL_DEFINE3()
306 uid = make_kuid(cred->user_ns, who); in SYSCALL_DEFINE2()
511 kruid = make_kuid(ns, ruid); in __sys_setreuid()
512 keuid = make_kuid(ns, euid); in __sys_setreuid()
587 kuid = make_kuid(ns, uid); in __sys_setuid()
639 kruid = make_kuid(ns, ruid); in __sys_setresuid()
640 keuid = make_kuid(ns, euid); in __sys_setresuid()
641 ksuid = make_kuid(ns, suid); in __sys_setresuid()
821 kuid = make_kuid(old->user_ns, uid); in __sys_setfsuid()
Duser_namespace.c387 kuid_t make_kuid(struct user_namespace *ns, uid_t uid) in make_kuid() function
392 EXPORT_SYMBOL(make_kuid);
1155 kuid_t uid = make_kuid(ns->parent, id); in new_idmap_permitted()
/kernel/linux/linux-5.10/fs/hfsplus/
Doptions.c139 sbi->uid = make_kuid(current_user_ns(), (uid_t)tmp); in hfsplus_parse_options()
/kernel/linux/linux-5.10/fs/coda/
Dcoda_linux.c117 inode->i_uid = make_kuid(&init_user_ns, (uid_t) attr->va_uid); in coda_vattr_to_iattr()
/kernel/linux/linux-5.10/fs/9p/
Dv9fs.c218 v9ses->dfltuid = make_kuid(current_user_ns(), option); in v9fs_parse_options()
332 v9ses->uid = make_kuid(current_user_ns(), uid); in v9fs_parse_options()
/kernel/linux/linux-5.10/fs/ext2/
Dacl.c63 make_kuid(&init_user_ns, in ext2_acl_from_disk()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_acl.c72 acl_e->e_uid = make_kuid(&init_user_ns, in xfs_acl_from_disk()
/kernel/linux/linux-5.10/fs/nfs_common/
Dnfsacl.c170 entry->e_uid = make_kuid(&init_user_ns, id); in xdr_nfsace_decode()
/kernel/linux/linux-5.10/fs/jffs2/
Dacl.c104 make_kuid(&init_user_ns, in jffs2_acl_from_medium()
/kernel/linux/linux-5.10/fs/ext4/
Dacl.c62 make_kuid(&init_user_ns, in ext4_acl_from_disk()
/kernel/linux/linux-5.10/fs/reiserfs/
Dxattr_acl.c107 make_kuid(&init_user_ns, in reiserfs_posix_acl_from_disk()
/kernel/linux/linux-5.10/fs/proc/
Dproc_net.c355 uid = make_kuid(net->user_ns, 0); in proc_net_ns_init()
/kernel/linux/linux-5.10/fs/
Dposix_acl.c695 uid = make_kuid(from, le32_to_cpu(entry->e_id)); in posix_acl_fix_xattr_userns()
768 make_kuid(user_ns, in posix_acl_from_xattr()

12345