syscall.sh / xtensa / setresgid

setresgid

set real, effective, and saved user or group ID

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

Registers

registervalue
a2146, the syscall number
a6gid_t rgid
a3gid_t egid
a4gid_t sgid
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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