Home
last modified time | relevance | path

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

/linux-3.4.99/kernel/
Duid16.c59 SYSCALL_DEFINE2(setreuid16, old_uid_t, ruid, old_uid_t, euid) in SYSCALL_DEFINE2() argument
61 long ret = sys_setreuid(low2highuid(ruid), low2highuid(euid)); in SYSCALL_DEFINE2()
63 asmlinkage_protect(2, ret, ruid, euid); in SYSCALL_DEFINE2()
75 SYSCALL_DEFINE3(setresuid16, old_uid_t, ruid, old_uid_t, euid, old_uid_t, suid) in SYSCALL_DEFINE3() argument
77 long ret = sys_setresuid(low2highuid(ruid), low2highuid(euid), in SYSCALL_DEFINE3()
80 asmlinkage_protect(3, ret, ruid, euid, suid); in SYSCALL_DEFINE3()
84 SYSCALL_DEFINE3(getresuid16, old_uid_t __user *, ruid, old_uid_t __user *, euid, old_uid_t __user *… in SYSCALL_DEFINE3() argument
89 if (!(retval = put_user(high2lowuid(cred->uid), ruid)) && in SYSCALL_DEFINE3()
Dsys.c696 SYSCALL_DEFINE2(setreuid, uid_t, ruid, uid_t, euid) in SYSCALL_DEFINE2() argument
708 if (ruid != (uid_t) -1) { in SYSCALL_DEFINE2()
709 new->uid = ruid; in SYSCALL_DEFINE2()
710 if (old->uid != ruid && in SYSCALL_DEFINE2()
711 old->euid != ruid && in SYSCALL_DEFINE2()
730 if (ruid != (uid_t) -1 || in SYSCALL_DEFINE2()
798 SYSCALL_DEFINE3(setresuid, uid_t, ruid, uid_t, euid, uid_t, suid) in SYSCALL_DEFINE3() argument
812 if (ruid != (uid_t) -1 && ruid != old->uid && in SYSCALL_DEFINE3()
813 ruid != old->euid && ruid != old->suid) in SYSCALL_DEFINE3()
823 if (ruid != (uid_t) -1) { in SYSCALL_DEFINE3()
[all …]
/linux-3.4.99/arch/s390/kernel/
Dcompat_linux.h172 long sys32_setreuid16(u16 ruid, u16 euid);
174 long sys32_setresuid16(u16 ruid, u16 euid, u16 suid);
175 long sys32_getresuid16(u16 __user *ruid, u16 __user *euid, u16 __user *suid);
Dcompat_linux.c120 asmlinkage long sys32_setreuid16(u16 ruid, u16 euid) in sys32_setreuid16() argument
122 return sys_setreuid(low2highuid(ruid), low2highuid(euid)); in sys32_setreuid16()
130 asmlinkage long sys32_setresuid16(u16 ruid, u16 euid, u16 suid) in sys32_setresuid16() argument
132 return sys_setresuid(low2highuid(ruid), low2highuid(euid), in sys32_setresuid16()
136 asmlinkage long sys32_getresuid16(u16 __user *ruid, u16 __user *euid, u16 __user *suid) in sys32_getresuid16() argument
140 if (!(retval = put_user(high2lowuid(current->cred->uid), ruid)) && in sys32_getresuid16()
/linux-3.4.99/include/linux/
Dcn_proc.h86 __u32 ruid; /* task uid */ member
Dsyscalls.h273 asmlinkage long sys_getresuid(uid_t __user *ruid, uid_t __user *euid, uid_t __user *suid);
282 asmlinkage long sys_setreuid(uid_t ruid, uid_t euid);
284 asmlinkage long sys_setresuid(uid_t ruid, uid_t euid, uid_t suid);
540 asmlinkage long sys_setreuid16(old_uid_t ruid, old_uid_t euid);
542 asmlinkage long sys_setresuid16(old_uid_t ruid, old_uid_t euid, old_uid_t suid);
543 asmlinkage long sys_getresuid16(old_uid_t __user *ruid,
/linux-3.4.99/drivers/connector/
Dcn_proc.c147 ev->event_data.id.r.ruid = cred->uid; in proc_id_connector()