Home
last modified time | relevance | path

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

12345

/linux-5.19.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()
/linux-5.19.10/include/linux/
Dmnt_idmapping.h84 return make_kuid(mnt_userns, uid); in mapped_kuid_fs()
157 return make_kuid(fs_userns, uid); in mapped_kuid_user()
Duidgid.h123 extern kuid_t make_kuid(struct user_namespace *from, uid_t uid);
143 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()
/linux-5.19.10/Documentation/filesystems/
Didmappings.rst221 make_kuid(u20000:k10000:r10000, u21000) = k11000
272 make_kuid(u0:k20000:r10000, u1000) = k21000
293 make_kuid(u0:k10000:r10000, u1000) = k11000
308 make_kuid(u0:k10000:r10000, u1000) = k11000
311 make_kuid(u10000:k20000:r10000, k110000) = k21000
331 make_kuid(idmapping, uid)
390 make_kuid(u0:k0:r4294967295, u1000) = k1000
416 make_kuid(u0:k10000:r10000, u1000) = k11000
444 make_kuid(u0:k10000:r10000, u1000) = k11000
468 make_kuid(u0:k0:r4294967295, u1000) = k1000
[all …]
/linux-5.19.10/block/
Dioprio.c109 uid = make_kuid(current_user_ns(), who); in SYSCALL_DEFINE3()
205 uid = make_kuid(current_user_ns(), who); in SYSCALL_DEFINE2()
/linux-5.19.10/security/
Dcommoncap.c419 kroot = make_kuid(fs_ns, root); in cap_inode_getsecurity()
512 rootkid = make_kuid(task_ns, rootid); in rootid_from_xattr()
680 rootkuid = make_kuid(fs_ns, 0); in get_vfs_caps_from_disk()
696 rootkuid = make_kuid(fs_ns, le32_to_cpu(nscaps->rootid)); in get_vfs_caps_from_disk()
907 root_uid = make_kuid(new->user_ns, 0); in cap_bprm_creds_from_file()
1092 kuid_t root_uid = make_kuid(old->user_ns, 0); in cap_emulate_setxuid()
1149 kuid_t root_uid = make_kuid(old->user_ns, 0); in cap_task_fix_setuid()
/linux-5.19.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()
/linux-5.19.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()
/linux-5.19.10/net/
Dsysctl_net.c64 ns_root_uid = make_kuid(net->user_ns, 0); in net_ctl_set_ownership()
/linux-5.19.10/fs/nfsd/
Dflexfilelayout.c54 fl->uid = make_kuid(&init_user_ns, u); in nfsd4_ff_proc_layoutget()
/linux-5.19.10/net/ax25/
Dax25_uid.c94 sax25_kuid = make_kuid(current_user_ns(), sax->sax25_uid); in ax25_uid_ioctl()
/linux-5.19.10/security/keys/
Dpersistent.c140 uid = make_kuid(ns, _uid); in keyctl_get_persistent()
/linux-5.19.10/kernel/
Dsys.c251 uid = make_kuid(cred->user_ns, who); in SYSCALL_DEFINE3()
319 uid = make_kuid(cred->user_ns, who); in SYSCALL_DEFINE2()
529 kruid = make_kuid(ns, ruid); in __sys_setreuid()
530 keuid = make_kuid(ns, euid); in __sys_setreuid()
610 kuid = make_kuid(ns, uid); in __sys_setuid()
667 kruid = make_kuid(ns, ruid); in __sys_setresuid()
668 keuid = make_kuid(ns, euid); in __sys_setresuid()
669 ksuid = make_kuid(ns, suid); in __sys_setresuid()
854 kuid = make_kuid(old->user_ns, uid); in __sys_setfsuid()
Duser_namespace.c403 kuid_t make_kuid(struct user_namespace *ns, uid_t uid) in make_kuid() function
408 EXPORT_SYMBOL(make_kuid);
1171 kuid_t uid = make_kuid(ns->parent, id); in new_idmap_permitted()
/linux-5.19.10/fs/hfsplus/
Doptions.c139 sbi->uid = make_kuid(current_user_ns(), (uid_t)tmp); in hfsplus_parse_options()
/linux-5.19.10/fs/coda/
Dcoda_linux.c116 inode->i_uid = make_kuid(&init_user_ns, (uid_t) attr->va_uid); in coda_vattr_to_iattr()
/linux-5.19.10/fs/9p/
Dv9fs.c219 v9ses->dfltuid = make_kuid(current_user_ns(), option); in v9fs_parse_options()
334 v9ses->uid = make_kuid(current_user_ns(), uid); in v9fs_parse_options()
/linux-5.19.10/fs/ext2/
Dacl.c63 make_kuid(&init_user_ns, in ext2_acl_from_disk()
/linux-5.19.10/fs/xfs/
Dxfs_acl.c74 acl_e->e_uid = make_kuid(&init_user_ns, in xfs_acl_from_disk()
/linux-5.19.10/fs/ext4/
Dacl.c62 make_kuid(&init_user_ns, in ext4_acl_from_disk()
/linux-5.19.10/fs/jffs2/
Dacl.c104 make_kuid(&init_user_ns, in jffs2_acl_from_medium()
/linux-5.19.10/fs/nfs_common/
Dnfsacl.c241 entry->e_uid = make_kuid(&init_user_ns, id); in xdr_nfsace_decode()
/linux-5.19.10/fs/proc/
Dproc_net.c369 uid = make_kuid(net->user_ns, 0); in proc_net_ns_init()
/linux-5.19.10/fs/reiserfs/
Dxattr_acl.c109 make_kuid(&init_user_ns, in reiserfs_posix_acl_from_disk()

12345