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.c523 long __sys_setreuid(uid_t ruid, uid_t euid) in __sys_setreuid() argument
531 kruid = make_kuid(ns, ruid); in __sys_setreuid()
534 if ((ruid != (uid_t) -1) && !uid_valid(kruid)) in __sys_setreuid()
545 if (ruid != (uid_t) -1) { in __sys_setreuid()
567 if (ruid != (uid_t) -1 || in __sys_setreuid()
588 SYSCALL_DEFINE2(setreuid, uid_t, ruid, uid_t, euid) in SYSCALL_DEFINE2() argument
590 return __sys_setreuid(ruid, euid); in SYSCALL_DEFINE2()
661 long __sys_setresuid(uid_t ruid, uid_t euid, uid_t suid) in __sys_setresuid() argument
670 kruid = make_kuid(ns, ruid); in __sys_setresuid()
674 if ((ruid != (uid_t) -1) && !uid_valid(kruid)) in __sys_setresuid()
[all …]