Home
last modified time | relevance | path

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

/linux/kernel/
A 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()
A Duid16.h7 long __sys_setreuid(uid_t ruid, uid_t euid);
9 long __sys_setresuid(uid_t ruid, uid_t euid, uid_t suid);
A Dsys.c509 long __sys_setreuid(uid_t ruid, uid_t euid) in __sys_setreuid() argument
517 kruid = make_kuid(ns, ruid); in __sys_setreuid()
520 if ((ruid != (uid_t) -1) && !uid_valid(kruid)) in __sys_setreuid()
531 if (ruid != (uid_t) -1) { in __sys_setreuid()
553 if (ruid != (uid_t) -1 || in __sys_setreuid()
575 return __sys_setreuid(ruid, euid); in SYSCALL_DEFINE2()
653 kruid = make_kuid(ns, ruid); in __sys_setresuid()
685 if (ruid != (uid_t) -1) { in __sys_setresuid()
716 return __sys_setresuid(ruid, euid, suid); in SYSCALL_DEFINE3()
723 uid_t ruid, euid, suid; in SYSCALL_DEFINE3() local
[all …]
/linux/arch/s390/kernel/
A Dcompat_linux.h96 long compat_sys_s390_setreuid16(u16 ruid, u16 euid);
98 long compat_sys_s390_setresuid16(u16 ruid, u16 euid, u16 suid);
99 long compat_sys_s390_getresuid16(u16 __user *ruid, u16 __user *euid, u16 __user *suid);
/linux/include/uapi/linux/
A Dcn_proc.h89 __u32 ruid; /* task uid */ member
/linux/include/linux/
A Dsyscalls.h750 asmlinkage long sys_setreuid(uid_t ruid, uid_t euid);
752 asmlinkage long sys_setresuid(uid_t ruid, uid_t euid, uid_t suid);
753 asmlinkage long sys_getresuid(uid_t __user *ruid, uid_t __user *euid, uid_t __user *suid);
1218 asmlinkage long sys_setreuid16(old_uid_t ruid, old_uid_t euid);
1220 asmlinkage long sys_setresuid16(old_uid_t ruid, old_uid_t euid, old_uid_t suid);
1221 asmlinkage long sys_getresuid16(old_uid_t __user *ruid,
/linux/fs/proc/
A Dinternal.h134 kuid_t *ruid, kgid_t *rgid);
A Dbase.c1819 kuid_t *ruid, kgid_t *rgid) in task_dump_owner() argument
1829 *ruid = GLOBAL_ROOT_UID; in task_dump_owner()
1872 *ruid = uid; in task_dump_owner()
/linux/drivers/connector/
A Dcn_proc.c142 ev->event_data.id.r.ruid = from_kuid_munged(&init_user_ns, cred->uid); in proc_id_connector()

Completed in 22 milliseconds