syscall.sh / csky / setregid

setregid

set real and/or effective user or group ID

sys_setregid(gid_t rgid, gid_t egid)
number143 (0x8f)
abicommon
entry pointsys_setregid
sinceLinux 4.20
man pagesetregid(2)
sourceelixir.bootlin.com

Registers

registervalue
r7143, the syscall number
a0gid_t rgid
a1gid_t egid
a0the return value

Then run trap 0 to enter the kernel.

Same syscall on other architectures

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