Home
last modified time | relevance | path

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

/linux-6.6.21/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.c529 long __sys_setreuid(uid_t ruid, uid_t euid) in __sys_setreuid() argument
537 kruid = make_kuid(ns, ruid); in __sys_setreuid()
540 if ((ruid != (uid_t) -1) && !uid_valid(kruid)) in __sys_setreuid()
551 if (ruid != (uid_t) -1) { in __sys_setreuid()
573 if (ruid != (uid_t) -1 || in __sys_setreuid()
594 SYSCALL_DEFINE2(setreuid, uid_t, ruid, uid_t, euid) in SYSCALL_DEFINE2() argument
596 return __sys_setreuid(ruid, euid); in SYSCALL_DEFINE2()
667 long __sys_setresuid(uid_t ruid, uid_t euid, uid_t suid) in __sys_setresuid() argument
676 kruid = make_kuid(ns, ruid); in __sys_setresuid()
680 if ((ruid != (uid_t) -1) && !uid_valid(kruid)) in __sys_setresuid()
[all …]
/linux-6.6.21/include/uapi/linux/
Dcn_proc.h115 __u32 ruid; /* task uid */ member
/linux-6.6.21/fs/proc/
Dinternal.h134 kuid_t *ruid, kgid_t *rgid);
Dbase.c1818 kuid_t *ruid, kgid_t *rgid) in task_dump_owner() argument
1828 *ruid = GLOBAL_ROOT_UID; in task_dump_owner()
1871 *ruid = uid; in task_dump_owner()
/linux-6.6.21/include/linux/
Dsyscalls.h653 asmlinkage long sys_setreuid(uid_t ruid, uid_t euid);
655 asmlinkage long sys_setresuid(uid_t ruid, uid_t euid, uid_t suid);
656 asmlinkage long sys_getresuid(uid_t __user *ruid, uid_t __user *euid, uid_t __user *suid);
1102 asmlinkage long sys_setreuid16(old_uid_t ruid, old_uid_t euid);
1104 asmlinkage long sys_setresuid16(old_uid_t ruid, old_uid_t euid, old_uid_t suid);
1105 asmlinkage long sys_getresuid16(old_uid_t __user *ruid,
/linux-6.6.21/tools/testing/selftests/connector/
Dproc_filter.c171 event->event_data.id.r.ruid, in handle_packet()
/linux-6.6.21/drivers/connector/
Dcn_proc.c190 ev->event_data.id.r.ruid = from_kuid_munged(&init_user_ns, cred->uid); in proc_id_connector()