syscall.sh / ppc / setregid

setregid

set real and/or effective user or group ID

sys_setregid(gid_t rgid, gid_t egid)
number71 (0x47)
abicommon
entry pointsys_setregid
sinceLinux 5.0
man pagesetregid(2)
sourceelixir.bootlin.com

Registers

registervalue
r071, the syscall number
r3gid_t rgid
r4gid_t egid
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

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