syscall.sh / riscv64 / setresuid

setresuid

set real, effective, and saved user or group ID

sys_setresuid(uid_t ruid, uid_t euid, uid_t suid)
number147 (0x93)
abicommon
entry pointsys_setresuid
sinceLinux 4.15
man pagesetresuid(2)
sourceelixir.bootlin.com

Registers

registervalue
a7147, the syscall number
a0uid_t ruid
a1uid_t euid
a2uid_t suid
a0the return value

Then run ecall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/riscv64/setresuid