syscall.sh / xtensa / 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 5.0
man pagesetregid(2)
sourceelixir.bootlin.com

Registers

registervalue
a2143, the syscall number
a6gid_t rgid
a3gid_t egid
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/setregid