Lines Matching refs:keuid
544 kuid_t kruid, keuid; in __sys_setreuid() local
547 keuid = make_kuid(ns, euid); in __sys_setreuid()
551 if ((euid != (uid_t) -1) && !uid_valid(keuid)) in __sys_setreuid()
569 new->euid = keuid; in __sys_setreuid()
570 if (!uid_eq(old->uid, keuid) && in __sys_setreuid()
571 !uid_eq(old->euid, keuid) && in __sys_setreuid()
572 !uid_eq(old->suid, keuid) && in __sys_setreuid()
583 (euid != (uid_t) -1 && !uid_eq(keuid, old->uid))) in __sys_setreuid()
682 kuid_t kruid, keuid, ksuid; in __sys_setresuid() local
686 keuid = make_kuid(ns, euid); in __sys_setresuid()
692 if ((euid != (uid_t) -1) && !uid_valid(keuid)) in __sys_setresuid()
702 (euid == (uid_t) -1 || (uid_eq(keuid, old->euid) && in __sys_setresuid()
703 uid_eq(keuid, old->fsuid))) && in __sys_setresuid()
709 euid_new = euid != (uid_t) -1 && !uid_eq(keuid, old->uid) && in __sys_setresuid()
710 !uid_eq(keuid, old->euid) && !uid_eq(keuid, old->suid); in __sys_setresuid()
730 new->euid = keuid; in __sys_setresuid()