syscall.sh / parisc / setresgid

setresgid

set real, effective, and saved user or group ID

sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid)
number170 (0xaa)
abicommon
entry pointsys_setresgid
sinceLinux 5.0
man pagesetresgid(2)
sourceelixir.bootlin.com

Registers

registervalue
r20170, the syscall number
r26gid_t rgid
r25gid_t egid
r24gid_t sgid
r28the return value

Then run ble 0x100(%sr2, %r0) to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/setresgid