syscall.sh / s390x / setregid

setregid

set real and/or effective user or group ID

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

Registers

registervalue
r1204, the syscall number
r2gid_t rgid
r3gid_t egid
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

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