Searched refs:ruid (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.4/kernel/ |
D | uid16.c | 48 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()
|
D | uid16.h | 7 long __sys_setreuid(uid_t ruid, uid_t euid); 9 long __sys_setresuid(uid_t ruid, uid_t euid, uid_t suid);
|
D | sys.c | 493 long __sys_setreuid(uid_t ruid, uid_t euid) in __sys_setreuid() argument 501 kruid = make_kuid(ns, ruid); in __sys_setreuid() 504 if ((ruid != (uid_t) -1) && !uid_valid(kruid)) in __sys_setreuid() 515 if (ruid != (uid_t) -1) { in __sys_setreuid() 537 if (ruid != (uid_t) -1 || in __sys_setreuid() 553 SYSCALL_DEFINE2(setreuid, uid_t, ruid, uid_t, euid) in SYSCALL_DEFINE2() argument 555 return __sys_setreuid(ruid, euid); in SYSCALL_DEFINE2() 621 long __sys_setresuid(uid_t ruid, uid_t euid, uid_t suid) in __sys_setresuid() argument 629 kruid = make_kuid(ns, ruid); in __sys_setresuid() 633 if ((ruid != (uid_t) -1) && !uid_valid(kruid)) in __sys_setresuid() [all …]
|
/Linux-v5.4/arch/s390/kernel/ |
D | compat_linux.h | 96 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-v5.4/include/uapi/linux/ |
D | cn_proc.h | 89 __u32 ruid; /* task uid */ member
|
/Linux-v5.4/fs/proc/ |
D | internal.h | 125 kuid_t *ruid, kgid_t *rgid);
|
D | base.c | 1689 kuid_t *ruid, kgid_t *rgid) in task_dump_owner() argument 1699 *ruid = GLOBAL_ROOT_UID; in task_dump_owner() 1742 *ruid = uid; in task_dump_owner()
|
/Linux-v5.4/include/linux/ |
D | syscalls.h | 706 asmlinkage long sys_setreuid(uid_t ruid, uid_t euid); 708 asmlinkage long sys_setresuid(uid_t ruid, uid_t euid, uid_t suid); 709 asmlinkage long sys_getresuid(uid_t __user *ruid, uid_t __user *euid, uid_t __user *suid); 1163 asmlinkage long sys_setreuid16(old_uid_t ruid, old_uid_t euid); 1165 asmlinkage long sys_setresuid16(old_uid_t ruid, old_uid_t euid, old_uid_t suid); 1166 asmlinkage long sys_getresuid16(old_uid_t __user *ruid,
|
/Linux-v5.4/drivers/connector/ |
D | cn_proc.c | 135 ev->event_data.id.r.ruid = from_kuid_munged(&init_user_ns, cred->uid); in proc_id_connector()
|