Lines Matching refs:kruid
530 kuid_t kruid, keuid; in __sys_setreuid() local
532 kruid = make_kuid(ns, ruid); in __sys_setreuid()
535 if ((ruid != (uid_t) -1) && !uid_valid(kruid)) in __sys_setreuid()
547 new->uid = kruid; in __sys_setreuid()
548 if (!uid_eq(old->uid, kruid) && in __sys_setreuid()
549 !uid_eq(old->euid, kruid) && in __sys_setreuid()
668 kuid_t kruid, keuid, ksuid; in __sys_setresuid() local
671 kruid = make_kuid(ns, ruid); in __sys_setresuid()
675 if ((ruid != (uid_t) -1) && !uid_valid(kruid)) in __sys_setresuid()
687 if ((ruid == (uid_t) -1 || uid_eq(kruid, old->uid)) && in __sys_setresuid()
693 ruid_new = ruid != (uid_t) -1 && !uid_eq(kruid, old->uid) && in __sys_setresuid()
694 !uid_eq(kruid, old->euid) && !uid_eq(kruid, old->suid); in __sys_setresuid()
708 new->uid = kruid; in __sys_setresuid()
709 if (!uid_eq(kruid, old->uid)) { in __sys_setresuid()