syscall.sh / x86 / setreuid32

setreuid32

set real and/or effective user or group ID

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

Registers

registervalue
eax203, the syscall number
ebxuid_t ruid
ecxuid_t euid
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

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