Lines Matching refs:uid_t

522 long __sys_setreuid(uid_t ruid, uid_t euid)  in __sys_setreuid()
533 if ((ruid != (uid_t) -1) && !uid_valid(kruid)) in __sys_setreuid()
535 if ((euid != (uid_t) -1) && !uid_valid(keuid)) in __sys_setreuid()
544 if (ruid != (uid_t) -1) { in __sys_setreuid()
552 if (euid != (uid_t) -1) { in __sys_setreuid()
566 if (ruid != (uid_t) -1 || in __sys_setreuid()
567 (euid != (uid_t) -1 && !uid_eq(keuid, old->uid))) in __sys_setreuid()
587 SYSCALL_DEFINE2(setreuid, uid_t, ruid, uid_t, euid) in SYSCALL_DEFINE2() argument
603 long __sys_setuid(uid_t uid) in __sys_setuid()
650 SYSCALL_DEFINE1(setuid, uid_t, uid) in SYSCALL_DEFINE1() argument
660 long __sys_setresuid(uid_t ruid, uid_t euid, uid_t suid) in __sys_setresuid()
672 if ((ruid != (uid_t) -1) && !uid_valid(kruid)) in __sys_setresuid()
675 if ((euid != (uid_t) -1) && !uid_valid(keuid)) in __sys_setresuid()
678 if ((suid != (uid_t) -1) && !uid_valid(ksuid)) in __sys_setresuid()
689 if (ruid != (uid_t) -1 && !uid_eq(kruid, old->uid) && in __sys_setresuid()
692 if (euid != (uid_t) -1 && !uid_eq(keuid, old->uid) && in __sys_setresuid()
695 if (suid != (uid_t) -1 && !uid_eq(ksuid, old->uid) && in __sys_setresuid()
700 if (ruid != (uid_t) -1) { in __sys_setresuid()
708 if (euid != (uid_t) -1) in __sys_setresuid()
710 if (suid != (uid_t) -1) in __sys_setresuid()
730 SYSCALL_DEFINE3(setresuid, uid_t, ruid, uid_t, euid, uid_t, suid) in SYSCALL_DEFINE3() argument
735 SYSCALL_DEFINE3(getresuid, uid_t __user *, ruidp, uid_t __user *, euidp, uid_t __user *, suidp) in SYSCALL_DEFINE3()
739 uid_t ruid, euid, suid; in SYSCALL_DEFINE3()
845 long __sys_setfsuid(uid_t uid) in __sys_setfsuid()
849 uid_t old_fsuid; in __sys_setfsuid()
881 SYSCALL_DEFINE1(setfsuid, uid_t, uid) in SYSCALL_DEFINE1() argument