syscall.sh / sh / setreuid32

setreuid32

set real and/or effective user or group ID

sys_setreuid(uid_t ruid, uid_t euid)
number203 (0xcb)
abicommon
entry pointsys_setreuid
sinceLinux 5.0
man pagesetreuid32(2)
sourceelixir.bootlin.com

Registers

registervalue
r3203, the syscall number
r4uid_t ruid
r5uid_t euid
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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