Lines Matching refs:suid
499 (current->uid != 0 && current->euid != 0 && current->suid != 0) && in cap_emulate_setxuid()
551 old_suid = current->suid; in sys_setreuid()
565 (current->suid != euid) && in sys_setreuid()
581 current->suid = current->euid; in sys_setreuid()
610 old_suid = current->suid; in sys_setuid()
626 current->suid = new_suid; in sys_setuid()
640 asmlinkage long sys_setresuid(uid_t ruid, uid_t euid, uid_t suid) in sys_setresuid() argument
644 int old_suid = current->suid; in sys_setresuid()
648 (ruid != current->euid) && (ruid != current->suid)) in sys_setresuid()
651 (euid != current->euid) && (euid != current->suid)) in sys_setresuid()
653 if ((suid != (uid_t) -1) && (suid != current->uid) && in sys_setresuid()
654 (suid != current->euid) && (suid != current->suid)) in sys_setresuid()
670 if (suid != (uid_t) -1) in sys_setresuid()
671 current->suid = suid; in sys_setresuid()
680 asmlinkage long sys_getresuid(uid_t *ruid, uid_t *euid, uid_t *suid) in sys_getresuid() argument
686 retval = put_user(current->suid, suid); in sys_getresuid()
747 uid == current->suid || uid == current->fsuid || in sys_setfsuid()