Lines Matching refs:keuid
530 kuid_t kruid, keuid; in __sys_setreuid() local
533 keuid = make_kuid(ns, euid); in __sys_setreuid()
537 if ((euid != (uid_t) -1) && !uid_valid(keuid)) in __sys_setreuid()
555 new->euid = keuid; in __sys_setreuid()
556 if (!uid_eq(old->uid, keuid) && in __sys_setreuid()
557 !uid_eq(old->euid, keuid) && in __sys_setreuid()
558 !uid_eq(old->suid, keuid) && in __sys_setreuid()
569 (euid != (uid_t) -1 && !uid_eq(keuid, old->uid))) in __sys_setreuid()
668 kuid_t kruid, keuid, ksuid; in __sys_setresuid() local
672 keuid = make_kuid(ns, euid); in __sys_setresuid()
678 if ((euid != (uid_t) -1) && !uid_valid(keuid)) in __sys_setresuid()
688 (euid == (uid_t) -1 || (uid_eq(keuid, old->euid) && in __sys_setresuid()
689 uid_eq(keuid, old->fsuid))) && in __sys_setresuid()
695 euid_new = euid != (uid_t) -1 && !uid_eq(keuid, old->uid) && in __sys_setresuid()
696 !uid_eq(keuid, old->euid) && !uid_eq(keuid, old->suid); in __sys_setresuid()
716 new->euid = keuid; in __sys_setresuid()