Lines Matching refs:uid_t

529 long __sys_setreuid(uid_t ruid, uid_t euid)  in __sys_setreuid()
540 if ((ruid != (uid_t) -1) && !uid_valid(kruid)) in __sys_setreuid()
542 if ((euid != (uid_t) -1) && !uid_valid(keuid)) in __sys_setreuid()
551 if (ruid != (uid_t) -1) { in __sys_setreuid()
559 if (euid != (uid_t) -1) { in __sys_setreuid()
573 if (ruid != (uid_t) -1 || in __sys_setreuid()
574 (euid != (uid_t) -1 && !uid_eq(keuid, old->uid))) in __sys_setreuid()
594 SYSCALL_DEFINE2(setreuid, uid_t, ruid, uid_t, euid) in SYSCALL_DEFINE2() argument
610 long __sys_setuid(uid_t uid) in __sys_setuid()
657 SYSCALL_DEFINE1(setuid, uid_t, uid) in SYSCALL_DEFINE1() argument
667 long __sys_setresuid(uid_t ruid, uid_t euid, uid_t suid) in __sys_setresuid()
680 if ((ruid != (uid_t) -1) && !uid_valid(kruid)) in __sys_setresuid()
683 if ((euid != (uid_t) -1) && !uid_valid(keuid)) in __sys_setresuid()
686 if ((suid != (uid_t) -1) && !uid_valid(ksuid)) in __sys_setresuid()
692 if ((ruid == (uid_t) -1 || uid_eq(kruid, old->uid)) && in __sys_setresuid()
693 (euid == (uid_t) -1 || (uid_eq(keuid, old->euid) && in __sys_setresuid()
695 (suid == (uid_t) -1 || uid_eq(ksuid, old->suid))) in __sys_setresuid()
698 ruid_new = ruid != (uid_t) -1 && !uid_eq(kruid, old->uid) && in __sys_setresuid()
700 euid_new = euid != (uid_t) -1 && !uid_eq(keuid, old->uid) && in __sys_setresuid()
702 suid_new = suid != (uid_t) -1 && !uid_eq(ksuid, old->uid) && in __sys_setresuid()
712 if (ruid != (uid_t) -1) { in __sys_setresuid()
720 if (euid != (uid_t) -1) in __sys_setresuid()
722 if (suid != (uid_t) -1) in __sys_setresuid()
742 SYSCALL_DEFINE3(setresuid, uid_t, ruid, uid_t, euid, uid_t, suid) in SYSCALL_DEFINE3() argument
747 SYSCALL_DEFINE3(getresuid, uid_t __user *, ruidp, uid_t __user *, euidp, uid_t __user *, suidp) in SYSCALL_DEFINE3()
751 uid_t ruid, euid, suid; in SYSCALL_DEFINE3()
863 long __sys_setfsuid(uid_t uid) in __sys_setfsuid()
867 uid_t old_fsuid; in __sys_setfsuid()
899 SYSCALL_DEFINE1(setfsuid, uid_t, uid) in SYSCALL_DEFINE1() argument