Home
last modified time | relevance | path

Searched refs:ruid (Results 1 – 3 of 3) sorted by relevance

/kernel/
Duid16.c48 SYSCALL_DEFINE2(setreuid16, old_uid_t, ruid, old_uid_t, euid) in SYSCALL_DEFINE2() argument
50 return __sys_setreuid(low2highuid(ruid), low2highuid(euid)); in SYSCALL_DEFINE2()
58 SYSCALL_DEFINE3(setresuid16, old_uid_t, ruid, old_uid_t, euid, old_uid_t, suid) in SYSCALL_DEFINE3() argument
60 return __sys_setresuid(low2highuid(ruid), low2highuid(euid), in SYSCALL_DEFINE3()
68 old_uid_t ruid, euid, suid; in SYSCALL_DEFINE3() local
70 ruid = high2lowuid(from_kuid_munged(cred->user_ns, cred->uid)); in SYSCALL_DEFINE3()
74 if (!(retval = put_user(ruid, ruidp)) && in SYSCALL_DEFINE3()
Duid16.h7 long __sys_setreuid(uid_t ruid, uid_t euid);
9 long __sys_setresuid(uid_t ruid, uid_t euid, uid_t suid);
Dsys.c495 long __sys_setreuid(uid_t ruid, uid_t euid) in __sys_setreuid() argument
503 kruid = make_kuid(ns, ruid); in __sys_setreuid()
506 if ((ruid != (uid_t) -1) && !uid_valid(kruid)) in __sys_setreuid()
517 if (ruid != (uid_t) -1) { in __sys_setreuid()
539 if (ruid != (uid_t) -1 || in __sys_setreuid()
555 SYSCALL_DEFINE2(setreuid, uid_t, ruid, uid_t, euid) in SYSCALL_DEFINE2() argument
557 return __sys_setreuid(ruid, euid); in SYSCALL_DEFINE2()
623 long __sys_setresuid(uid_t ruid, uid_t euid, uid_t suid) in __sys_setresuid() argument
631 kruid = make_kuid(ns, ruid); in __sys_setresuid()
635 if ((ruid != (uid_t) -1) && !uid_valid(kruid)) in __sys_setresuid()
[all …]