Home
last modified time | relevance | path

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

/kernel/
Dsys.c610 kuid_t kuid; in __sys_setuid() local
612 kuid = make_kuid(ns, uid); in __sys_setuid()
613 if (!uid_valid(kuid)) in __sys_setuid()
623 new->suid = new->uid = kuid; in __sys_setuid()
624 if (!uid_eq(kuid, old->uid)) { in __sys_setuid()
629 } else if (!uid_eq(kuid, old->uid) && !uid_eq(kuid, new->suid)) { in __sys_setuid()
633 new->fsuid = new->euid = kuid; in __sys_setuid()
862 kuid_t kuid; in __sys_setfsuid() local
867 kuid = make_kuid(old->user_ns, uid); in __sys_setfsuid()
868 if (!uid_valid(kuid)) in __sys_setfsuid()
[all …]
Duser_namespace.c422 uid_t from_kuid(struct user_namespace *targ, kuid_t kuid) in from_kuid() argument
425 return map_id_up(&targ->uid_map, __kuid_val(kuid)); in from_kuid()
447 uid_t from_kuid_munged(struct user_namespace *targ, kuid_t kuid) in from_kuid_munged() argument
450 uid = from_kuid(targ, kuid); in from_kuid_munged()