Home
last modified time | relevance | path

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

12345

/linux-6.12.1/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()
88 kuid_t uid_min = make_kuid(net->user_ns, info->uid_min); in owner_mt()
89 kuid_t uid_max = make_kuid(net->user_ns, info->uid_max); in owner_mt()
/linux-6.12.1/Documentation/filesystems/
Didmappings.rst222 make_kuid(u20000:k10000:r10000, u21000) = k11000
273 make_kuid(u0:k20000:r10000, u1000) = k21000
294 make_kuid(u0:k10000:r10000, u1000) = k11000
309 make_kuid(u0:k10000:r10000, u1000) = k11000
312 make_kuid(u10000:k20000:r10000, k110000) = k21000
336 make_kuid(idmapping, uid)
402 make_kuid(u0:k0:r4294967295, u1000) = k1000
428 make_kuid(u0:k10000:r10000, u1000) = k11000
456 make_kuid(u0:k10000:r10000, u1000) = k11000
480 make_kuid(u0:k0:r4294967295, u1000) = k1000
[all …]
/linux-6.12.1/block/
Dioprio.c110 uid = make_kuid(current_user_ns(), who); in SYSCALL_DEFINE3()
222 uid = make_kuid(current_user_ns(), who); in SYSCALL_DEFINE2()
/linux-6.12.1/security/
Dcommoncap.c421 kroot = make_kuid(fs_ns, root); in cap_inode_getsecurity()
503 return VFSUIDT_INIT(make_kuid(task_ns, rootid)); in rootid_from_xattr()
669 rootkuid = make_kuid(fs_ns, 0); in get_vfs_caps_from_disk()
682 rootkuid = make_kuid(fs_ns, le32_to_cpu(nscaps->rootid)); in get_vfs_caps_from_disk()
902 root_uid = make_kuid(new->user_ns, 0); in cap_bprm_creds_from_file()
1087 kuid_t root_uid = make_kuid(old->user_ns, 0); in cap_emulate_setxuid()
1144 kuid_t root_uid = make_kuid(old->user_ns, 0); in cap_task_fix_setuid()
/linux-6.12.1/include/linux/
Duidgid.h115 extern kuid_t make_kuid(struct user_namespace *from, uid_t uid);
138 static inline kuid_t make_kuid(struct user_namespace *from, uid_t uid) in make_kuid() function
/linux-6.12.1/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-6.12.1/fs/smb/client/
Dreparse.h35 return make_kuid(current_user_ns(), uid); in wsl_make_kuid()
/linux-6.12.1/fs/nfsd/
Dflexfilelayout.c55 fl->uid = make_kuid(&init_user_ns, u); in nfsd4_ff_proc_layoutget()
/linux-6.12.1/net/core/
Dscm.c50 kuid_t uid = make_kuid(cred->user_ns, creds->uid); in scm_check_creds()
204 uid = make_kuid(current_user_ns(), creds.uid); in __scm_send()
/linux-6.12.1/security/keys/
Dpersistent.c140 uid = make_kuid(ns, _uid); in keyctl_get_persistent()
/linux-6.12.1/net/
Dsysctl_net.c63 ns_root_uid = make_kuid(net->user_ns, 0); in net_ctl_set_ownership()
/linux-6.12.1/net/ax25/
Dax25_uid.c94 sax25_kuid = make_kuid(current_user_ns(), sax->sax25_uid); in ax25_uid_ioctl()
/linux-6.12.1/ipc/
Dmq_sysctl.c85 kuid_t ns_root_uid = make_kuid(ns->user_ns, 0); in mq_set_ownership()
Dipc_sysctl.c199 kuid_t ns_root_uid = make_kuid(ns->user_ns, 0); in ipc_set_ownership()
/linux-6.12.1/kernel/
Dsys.c268 uid = make_kuid(cred->user_ns, who); in SYSCALL_DEFINE3()
336 uid = make_kuid(cred->user_ns, who); in SYSCALL_DEFINE2()
546 kruid = make_kuid(ns, ruid); in __sys_setreuid()
547 keuid = make_kuid(ns, euid); in __sys_setreuid()
627 kuid = make_kuid(ns, uid); in __sys_setuid()
685 kruid = make_kuid(ns, ruid); in __sys_setresuid()
686 keuid = make_kuid(ns, euid); in __sys_setresuid()
687 ksuid = make_kuid(ns, suid); in __sys_setresuid()
882 kuid = make_kuid(old->user_ns, uid); in __sys_setfsuid()
Duser_namespace.c411 kuid_t make_kuid(struct user_namespace *ns, uid_t uid) in make_kuid() function
416 EXPORT_SYMBOL(make_kuid);
1178 kuid_t uid = make_kuid(ns->parent, id); in new_idmap_permitted()
/linux-6.12.1/fs/coda/
Dcoda_linux.c116 inode->i_uid = make_kuid(&init_user_ns, (uid_t) attr->va_uid); in coda_vattr_to_iattr()
/linux-6.12.1/fs/hfsplus/
Doptions.c139 sbi->uid = make_kuid(current_user_ns(), (uid_t)tmp); in hfsplus_parse_options()
/linux-6.12.1/fs/9p/
Dv9fs.c221 v9ses->dfltuid = make_kuid(current_user_ns(), option); in v9fs_parse_options()
336 v9ses->uid = make_kuid(current_user_ns(), uid); in v9fs_parse_options()
/linux-6.12.1/fs/
Dmnt_idmapping.c163 return make_kuid(fs_userns, uid); in from_vfsuid()
/linux-6.12.1/fs/ext2/
Dacl.c63 make_kuid(&init_user_ns, in ext2_acl_from_disk()
/linux-6.12.1/fs/xfs/
Dxfs_acl.c74 acl_e->e_uid = make_kuid(&init_user_ns, in xfs_acl_from_disk()
/linux-6.12.1/fs/ext4/
Dacl.c62 make_kuid(&init_user_ns, in ext4_acl_from_disk()
/linux-6.12.1/fs/jffs2/
Dacl.c104 make_kuid(&init_user_ns, in jffs2_acl_from_medium()
/linux-6.12.1/fs/nfs_common/
Dnfsacl.c242 entry->e_uid = make_kuid(&init_user_ns, id); in xdr_nfsace_decode()

12345