Home
last modified time | relevance | path

Searched refs:kuid (Results 1 – 2 of 2) sorted by relevance

/kernel/
Dsys.c611 kuid_t kuid; in __sys_setuid() local
613 kuid = make_kuid(ns, uid); in __sys_setuid()
614 if (!uid_valid(kuid)) in __sys_setuid()
624 new->suid = new->uid = kuid; in __sys_setuid()
625 if (!uid_eq(kuid, old->uid)) { in __sys_setuid()
630 } else if (!uid_eq(kuid, old->uid) && !uid_eq(kuid, new->suid)) { in __sys_setuid()
634 new->fsuid = new->euid = kuid; in __sys_setuid()
863 kuid_t kuid; in __sys_setfsuid() local
868 kuid = make_kuid(old->user_ns, uid); in __sys_setfsuid()
869 if (!uid_valid(kuid)) in __sys_setfsuid()
[all …]
Duser_namespace.c427 uid_t from_kuid(struct user_namespace *targ, kuid_t kuid) in from_kuid() argument
430 return map_id_up(&targ->uid_map, __kuid_val(kuid)); in from_kuid()
452 uid_t from_kuid_munged(struct user_namespace *targ, kuid_t kuid) in from_kuid_munged() argument
455 uid = from_kuid(targ, kuid); in from_kuid_munged()