Lines Matching refs:kruid
544 kuid_t kruid, keuid; in __sys_setreuid() local
546 kruid = make_kuid(ns, ruid); in __sys_setreuid()
549 if ((ruid != (uid_t) -1) && !uid_valid(kruid)) in __sys_setreuid()
561 new->uid = kruid; in __sys_setreuid()
562 if (!uid_eq(old->uid, kruid) && in __sys_setreuid()
563 !uid_eq(old->euid, kruid) && in __sys_setreuid()
682 kuid_t kruid, keuid, ksuid; in __sys_setresuid() local
685 kruid = make_kuid(ns, ruid); in __sys_setresuid()
689 if ((ruid != (uid_t) -1) && !uid_valid(kruid)) in __sys_setresuid()
701 if ((ruid == (uid_t) -1 || uid_eq(kruid, old->uid)) && in __sys_setresuid()
707 ruid_new = ruid != (uid_t) -1 && !uid_eq(kruid, old->uid) && in __sys_setresuid()
708 !uid_eq(kruid, old->euid) && !uid_eq(kruid, old->suid); in __sys_setresuid()
722 new->uid = kruid; in __sys_setresuid()
723 if (!uid_eq(kruid, old->uid)) { in __sys_setresuid()