syscall.sh / x64 / setreuid

setreuid

set real and/or effective user or group ID

sys_setreuid(uid_t ruid, uid_t euid)
number113 (0x71)
abicommon
entry pointsys_setreuid
sinceLinux 3.3
man pagesetreuid(2)
sourceelixir.bootlin.com

Registers

registervalue
rax113, the syscall number
rdiuid_t ruid
rsiuid_t euid
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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