Lines Matching refs:ruid
545 asmlinkage long sys_setreuid(uid_t ruid, uid_t euid) in sys_setreuid() argument
553 if (ruid != (uid_t) -1) { in sys_setreuid()
554 new_ruid = ruid; in sys_setreuid()
555 if ((old_ruid != ruid) && in sys_setreuid()
556 (current->euid != ruid) && in sys_setreuid()
579 if (ruid != (uid_t) -1 || in sys_setreuid()
640 asmlinkage long sys_setresuid(uid_t ruid, uid_t euid, uid_t suid) in sys_setresuid() argument
647 if ((ruid != (uid_t) -1) && (ruid != current->uid) && in sys_setresuid()
648 (ruid != current->euid) && (ruid != current->suid)) in sys_setresuid()
657 if (ruid != (uid_t) -1) { in sys_setresuid()
658 if (ruid != current->uid && set_user(ruid, euid != current->euid) < 0) in sys_setresuid()
680 asmlinkage long sys_getresuid(uid_t *ruid, uid_t *euid, uid_t *suid) in sys_getresuid() argument
684 if (!(retval = put_user(current->uid, ruid)) && in sys_getresuid()