syscall.sh / sh / setregid32

setregid32

set real and/or effective user or group ID

sys_setregid(gid_t rgid, gid_t egid)
number204 (0xcc)
abicommon
entry pointsys_setregid
sinceLinux 5.0
man pagesetregid32(2)
sourceelixir.bootlin.com

Registers

registervalue
r3204, the syscall number
r4gid_t rgid
r5gid_t egid
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/setregid32